Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Commit 9767b81

Browse files
author
ProHack
committed
Update [Easy Install]
Fix design Smoother xfce_type toggle Change URL in download to URI
1 parent 378eae7 commit 9767b81

File tree

13 files changed

+53
-26
lines changed

13 files changed

+53
-26
lines changed
Binary file not shown.

ProHack Security Lite/bin/Debug/ProHack Easy Install/ProHack Easy Install/mainWindow.Designer.vb

Lines changed: 23 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ProHack Security Lite/bin/Debug/ProHack Easy Install/ProHack Easy Install/mainWindow.vb

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ Public Class mainWIndow
110110
Private Sub xfce_type_border_toggle()
111111
Dim sizeH As Integer = Me.Size.Height
112112

113+
flowItems.Hide()
114+
SuspendLayout()
115+
113116
If sizeH = 450 Then
114117
For sizeH = 450 To 65 Step -10
115118
Me.Size = New Size(Me.Size.Width, sizeH)
@@ -121,6 +124,9 @@ Public Class mainWIndow
121124
Next
122125
Me.Size = New Size(Me.Size.Width, 450)
123126
End If
127+
128+
flowItems.Show()
129+
ResumeLayout()
124130
End Sub
125131

126132
Private Sub BtnExit_MouseEnter(sender As Object, e As EventArgs) Handles btnExit.MouseEnter
@@ -186,10 +192,12 @@ Public Class mainWIndow
186192

187193
Private Sub MainWindow_Load(sender As Object, e As EventArgs) Handles MyBase.Load
188194
create_flowItemControls()
195+
lblDownloadStatus.Hide()
189196
End Sub
190197

191198
Private Sub start_download()
192199
progressDownload.Visible = True
200+
lblDownloadStatus.Show()
193201
If Not bgworker_download.IsBusy Then
194202
bgworker_download.RunWorkerAsync()
195203
btnDownload.Visible = False
@@ -206,15 +214,18 @@ Public Class mainWIndow
206214
End Sub
207215

208216
Private Sub Bgworker_download_DoWork(sender As Object, e As System.ComponentModel.DoWorkEventArgs) Handles bgworker_download.DoWork
209-
Dim downloadURL As String
217+
Dim downloadURL As Uri
210218
Dim downloadName As String
211219
Dim numDownloads As Integer = downloadableURLS.Count
212220

213221
Dim count As Integer = 0
222+
223+
' download the files
214224
For Each url In downloadableURLS
215-
downloadURL = url
225+
downloadURL = New Uri(url, UriKind.Absolute)
216226
Dim tempArr() As String = Split(url, "/")
217227
downloadName = Application.StartupPath & "/downloads/" & tempArr(tempArr.Count - 1)
228+
218229
If File.Exists(downloadName) Then
219230
Try
220231
File.Delete(downloadName)
@@ -256,6 +267,7 @@ Public Class mainWIndow
256267
flowItems.Visible = True
257268
progressDownload.Value = 0
258269
progressDownload.Visible = False
270+
lblDownloadStatus.Hide()
259271
MsgBox("Downloaded!")
260272
End Sub
261273

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Some Tool Name 1>C:\sOME\PATH\here\yo1.exe
22
Some Tool Name 2>C:\sOME\PATH\here\yo2.exe
33
Some Tool Name 3>C:\sOME\PATH\here\yo3.exe
4-
Some Tool Name 4>C:\sOME\PATH\here\yo1.exe
5-
Some Tool Name 5>C:\sOME\PATH\here\yo2.exe
6-
Some Tool Name 6>C:\sOME\PATH\here\yo3.exe
7-
Some Tool Name 7>C:\sOME\PATH\here\yo1.exe
8-
Some Tool Name 8>C:\sOME\PATH\here\yo2.exe
9-
Some Tool Name 9>C:\sOME\PATH\here\yo3.exe
10-
Some Tool Name 10>C:\sOME\PATH\here\yo1.exe
4+
Some Tool Name 4>C:\sOME\PATH\here\yo4.exe
5+
Some Tool Name 5>C:\sOME\PATH\here\yo5.exe
6+
Some Tool Name 6>C:\sOME\PATH\here\yo6.exe
7+
Some Tool Name 7>C:\sOME\PATH\here\yo7.exe
8+
Some Tool Name 8>C:\sOME\PATH\here\yo8.exe
9+
Some Tool Name 9>C:\sOME\PATH\here\yo9.exe
10+
Some Tool Name 10>C:\sOME\PATH\here\yo10.exe
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Some Util Name 1>C:\sOME\PATH\here\yo1.exe
22
Some Util Name 2>C:\sOME\PATH\here\yo2.exe
33
Some Util Name 3>C:\sOME\PATH\here\yo3.exe
4-
Some Util Name 4>C:\sOME\PATH\here\yo1.exe
5-
Some Util Name 5>C:\sOME\PATH\here\yo2.exe
6-
Some Util Name 6>C:\sOME\PATH\here\yo3.exe
7-
Some Util Name 7>C:\sOME\PATH\here\yo1.exe
8-
Some Util Name 8>C:\sOME\PATH\here\yo2.exe
9-
Some Util Name 9>C:\sOME\PATH\here\yo3.exe
10-
Some Util Name 10>C:\sOME\PATH\here\yo1.exe
4+
Some Util Name 4>C:\sOME\PATH\here\yo4.exe
5+
Some Util Name 5>C:\sOME\PATH\here\yo5.exe
6+
Some Util Name 6>C:\sOME\PATH\here\yo6.exe
7+
Some Util Name 7>C:\sOME\PATH\here\yo7.exe
8+
Some Util Name 8>C:\sOME\PATH\here\yo8.exe
9+
Some Util Name 9>C:\sOME\PATH\here\yo9.exe
10+
Some Util Name 10>C:\sOME\PATH\here\yo10.exe

0 commit comments

Comments
 (0)