diff --git a/BackgroundProgress.vb b/BackgroundProgress.vb
index 91aae6e..8e7f28e 100644
--- a/BackgroundProgress.vb
+++ b/BackgroundProgress.vb
@@ -13,7 +13,7 @@ Public Class BackgroundProgress
Private Sub InitializeComponent()
Me.lblStatus = New System.Windows.Forms.Label()
Me.imgLoading = New System.Windows.Forms.PictureBox()
- Me.pbTaskProgress = New System.Windows.Forms.ProgressBar()
+ Me.pbTaskProgress = New wyDay.Controls.Windows7ProgressBar()
Me.bwFolderOperations = New System.ComponentModel.BackgroundWorker()
CType(Me.imgLoading,System.ComponentModel.ISupportInitialize).BeginInit
Me.SuspendLayout
@@ -31,14 +31,8 @@ Public Class BackgroundProgress
Me.imgLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
Me.imgLoading.TabStop = false
'pbTaskProgress
- '''
- ' Taskbar Progress code: uncomment the next line and the #End If below to use the normal ProgressBar
- '#If IsReference = True
- Me.pbTaskProgress = New wyDay.Controls.Windows7ProgressBar()
- Me.pbTaskProgress.ContainerControl = Me
- Me.pbTaskProgress.ShowInTaskbar = True
- '#End If
- '''
+ Me.pbTaskProgress.ContainerControl = Me
+ Me.pbTaskProgress.ShowInTaskbar = True
Me.pbTaskProgress.Location = New System.Drawing.Point(12, 34)
Me.pbTaskProgress.Name = "pbTaskProgress"
Me.pbTaskProgress.Size = New System.Drawing.Size(310, 23)
@@ -65,7 +59,7 @@ Public Class BackgroundProgress
Me.PerformLayout
End Sub
Friend WithEvents bwFolderOperations As System.ComponentModel.BackgroundWorker
- Private pbTaskProgress As Object 'wyDay.Controls.Windows7ProgressBar
+ Private pbTaskProgress As wyDay.Controls.Windows7ProgressBar
Private lblStatus As System.Windows.Forms.Label
Private imgLoading As System.Windows.Forms.PictureBox
diff --git a/Hashes.vb b/Hashes.vb
index a3e9b59..f299c3e 100644
--- a/Hashes.vb
+++ b/Hashes.vb
@@ -29,7 +29,7 @@ Public Class Hashes
Me.btnAllCopy = New System.Windows.Forms.Button()
Me.btnAllCalculate = New System.Windows.Forms.Button()
Me.btnClose = New System.Windows.Forms.Button()
- Me.pbCalculateProgress = New System.Windows.Forms.ProgressBar()
+ Me.pbCalculateProgress = New wyDay.Controls.Windows7ProgressBar()
Me.bwCalcHashes = New System.ComponentModel.BackgroundWorker()
Me.grpSHA512 = New System.Windows.Forms.GroupBox()
Me.btnSHA512Copy = New System.Windows.Forms.Button()
@@ -174,14 +174,8 @@ Public Class Hashes
Me.btnClose.UseVisualStyleBackColor = true
AddHandler Me.btnClose.Click, AddressOf Me.btnClose_Click
'pbCalculateProgress
- '''
- ' Taskbar Progress code: uncomment the next line and the #End If below to use the normal ProgressBar
- '#If IsReference = True
- Me.pbCalculateProgress = New wyDay.Controls.Windows7ProgressBar()
- Me.pbCalculateProgress.ContainerControl = Me
- Me.pbCalculateProgress.ShowInTaskbar = True
- '#End If
- '''
+ Me.pbCalculateProgress.ContainerControl = Me
+ Me.pbCalculateProgress.ShowInTaskbar = True
Me.pbCalculateProgress.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
Me.pbCalculateProgress.Location = New System.Drawing.Point(9, 228)
Me.pbCalculateProgress.Name = "pbCalculateProgress"
@@ -275,8 +269,7 @@ Public Class Hashes
Private btnSHA512Copy As System.Windows.Forms.Button
Private grpSHA512 As System.Windows.Forms.GroupBox
Private bwCalcHashes As System.ComponentModel.BackgroundWorker
- 'wyDay.Controls.Windows7ProgressBar or System.Windows.Forms.ProgressBar
- Private pbCalculateProgress As Object
+ Private pbCalculateProgress As wyDay.Controls.Windows7ProgressBar
Private btnClose As System.Windows.Forms.Button
Private btnAllCalculate As System.Windows.Forms.Button
Private btnAllCopy As System.Windows.Forms.Button
diff --git a/PropertiesDotNet.vbproj b/PropertiesDotNet.vbproj
index bf1498b..4bf4e6d 100644
--- a/PropertiesDotNet.vbproj
+++ b/PropertiesDotNet.vbproj
@@ -38,7 +38,7 @@
Project
- ..\Release-2
+ "..\..\NSIS Installer for PropertiesDotNet.nsi"
@@ -50,10 +50,6 @@
-
- Windows7ProgressBar.dll
- True
-
@@ -87,6 +83,7 @@
Settings.settings
True
+
diff --git a/Windows7ProgressBar.dll b/Windows7ProgressBar.dll
deleted file mode 100644
index 29aa6e6..0000000
Binary files a/Windows7ProgressBar.dll and /dev/null differ