Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
-Fix crash in Recent
-Removed unnecessary information in Recent
  • Loading branch information
basti564 committed Sep 11, 2019
1 parent 0d7612c commit cb59df7
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 36 deletions.
30 changes: 15 additions & 15 deletions Main.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 5 additions & 16 deletions Recent.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 77 additions & 0 deletions Recent.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,81 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAgBAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAC6AP8AugD/ANkA/wDZAP8A2QD/ANkA/wDZAP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AAAAAAAAAAAAAAAAAugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wDZAP8A2QD/ANkA/wDZ
AP8A2QD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wC6AP8AAAAAAPAA/wDwAP8A8AD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wC6AP8A2QD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AugD/ALoA/wC6AP8AugD/8vLy/wC6AP8AugD/8vLy/wC6
AP8AugD/ALoA/wC6AP8AugD/8vLy/wC6AP8AugD/8vLy/5D/tf8AugD/ALoA/9vb2//b29v/29vb/9vb
2//b29v/29vb//////8AugD/ALoA/wC6AP/y8vL/8vLy//Ly8v8AugD/ALoA/wC6AP/y8vL/ALoA/wC6
AP8AugD/ALoA/wC6AP/y8vL/ALoA/wC6AP/y8vL/8vLy//Ly8v/y8vL/8vLy/wC6AP8AugD/8vLy//Ly
8v/b29v/29vb/9vb2//b29v//////wC6AP8AugD////////////y8vL/8vLy/wC6AP8AugD/ALoA//Ly
8v8AugD/ALoA/wC6AP8AugD/8vLy//Ly8v8AugD/ALoA//Ly8v/y8vL/ALoA/wC6AP8AugD/ALoA/wC6
AP/y8vL/8vLy//Ly8v/y8vL/29vb/9vb2////////////////////////////////////////////wC6
AP8AugD/8vLy/wC6AP8AugD/8vLy//Ly8v/y8vL/8vLy/wC6AP8AugD/8vLy/wC6AP8AugD/ALoA/wC6
AP8AugD/8vLy//Ly8v/y8vL/ALoA/wC6AP/y8vL/29vb/wC6AP8AugD/ALoA////////////////////
////////////////////////ALoA/wC6AP/y8vL/8vLy//Ly8v/y8vL/ALoA/wC6AP/y8vL/ALoA/wC6
AP/y8vL/8vLy//Ly8v/y8vL/8vLy/wC6AP8AugD/ALoA/wC6AP/y8vL/kP+1/5D/tf+Q/7X/ALoA/wC6
AP8AugD/ALoA//////////////////////////////////////////////////////8AugD/ALoA//Ly
8v8AugD/ALoA//Ly8v/y8vL/ALoA/wC6AP/y8vL/ALoA/wC6AP8AugD/ALoA//Ly8v8AugD/ALoA/wC6
AP+Q/7X/kP+1/5D/tf+Q/7X/ALoA/wC6AP8AugD/ALoA/wC6AP//////////////////////////////
/////////////wC6AP8AugD/ALoA/wC6AP8AugD/ALoA//Ly8v/y8vL/ALoA/wC6AP/y8vL/8vLy/wC6
AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP+Q/7X/kP+1/5D/tf+Q/7X/kP+1/wC6AP8AugD/ALoA/wC6
AP///////////////////////////wC6AP8AugD/ALoA/wC6AP//////////////////////8vLy//Ly
8v/y8vL/APAA/wDwAP8A8AD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/kP+1/5D/
tf+Q/7X/kP+1/wC6AP8AugD/ALoA/wC6AP//////////////////////////////////////////////
//////////////////8AugD/ALoA/wC6AP8A8AD/APAA/wDwAP8A8AD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wC6AP8AugD/kP+1/5D/tf+Q/7X/kP+1/wC6AP8AugD/ALoA/wC6AP8AugD/////////
/////////////////////////////wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8A8AD/APAA/wDw
AP8A8AD/APAA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/kP+1/5D/tf+Q/7X/kP+1/5D/
tf8AugD/ALoA/wC6AP8AugD/////////////////ANkA/wDZAP8A2QD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wC6AP8AugD/APAA/wDwAP8A8AD/APAA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/5D/tf+Q/7X/kP+1/5D/tf8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8A2QD/ANkA/wDZ
AP8A2QD/ANkA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/APAA/wDwAP8A8AD/APAA/wDw
AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/5D/tf+Q/7X/kP+1/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wC6AP8AugD/ANkA/wDZAP8A2QD/ANkA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wDwAP8A8AD/APAA/wDwAP8A8AD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ANkA/wDZAP8A2QD/ANkA/wDZ
AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8A8AD/APAA/wDwAP8A8AD/ALoA/wC6
AP8AAAAAALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wDZAP8A2QD/ANkA/wDZAP8A2QD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8A8AD/AAAAAAAAAAAAAAAAALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6
AP8AugD/ALoA/wC6AP8AugD/ALoA/wC6AP8AugD/ALoA/wDZAP8A2QD/ANkA/wDZAP8A2QD/ALoA/wC6
AP8AugD/ALoA/wAAAAAAAAAAwAAAA4AAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAgAAAAcAAAAM=
</value>
</data>
</root>
13 changes: 8 additions & 5 deletions Recent.vb
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ Public Class Recent
UserList.Items.Clear()
NameTxt.Text = Environment.UserName
AccessTxt.Text = "Last Access: " + Directory.GetLastAccessTime(UserPath)
ActionTxt.Text = "Last Action: " + Directory.GetLastWriteTime(UserPath)
fAccessTxt.Text = "First Login: " + Directory.GetCreationTime(UserPath)
For Each folder In Directory.GetParent(UserPath).GetDirectories
UserList.Items.Add(folder)
Next
If Not UserList.SelectedItem Is Nothing Then
MsgBox("sees")
End If
End Sub

Private Sub UserList_SelectedIndexChanged(sender As Object, e As EventArgs) Handles UserList.SelectedIndexChanged
NameTxt.Text = UserList.SelectedItem.ToString
AccessTxt.Text = "Last Access: " + Directory.GetLastAccessTime(UsersPath.ToString + "\" + UserList.SelectedItem.ToString)
ActionTxt.Text = "Last Action: " + Directory.GetLastWriteTime(UsersPath.ToString + "\" + UserList.SelectedItem.ToString)
fAccessTxt.Text = "First Login: " + Directory.GetCreationTime(UsersPath.ToString + "\" + UserList.SelectedItem.ToString)
If Not UserList.SelectedItem Is Nothing Then
NameTxt.Text = UserList.SelectedItem.ToString
AccessTxt.Text = "Last Access: " + Directory.GetLastAccessTime(UsersPath.ToString + "\" + UserList.SelectedItem.ToString)
fAccessTxt.Text = "First Login: " + Directory.GetCreationTime(UsersPath.ToString + "\" + UserList.SelectedItem.ToString)
End If
End Sub
End Class

0 comments on commit cb59df7

Please sign in to comment.