summaryrefslogtreecommitdiff
path: root/windows 95/Survive The Day.vb
diff options
context:
space:
mode:
Diffstat (limited to 'windows 95/Survive The Day.vb')
-rwxr-xr-xwindows 95/Survive The Day.vb5
1 files changed, 2 insertions, 3 deletions
diff --git a/windows 95/Survive The Day.vb b/windows 95/Survive The Day.vb
index e9fe2ee..aca9ae6 100755
--- a/windows 95/Survive The Day.vb
+++ b/windows 95/Survive The Day.vb
@@ -5,7 +5,7 @@
Dim maximize As Boolean
Private Sub programtopbar_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles programtopbar.MouseDown
- If moveable = True Then
+ If moveable Then
If e.Button = MouseButtons.Left Then
programtopbar.Capture = False
Const WM_NCLBUTTONDOWN As Integer = &HA1S
@@ -15,7 +15,6 @@
New IntPtr(HTCAPTION), IntPtr.Zero)
Me.DefWndProc(msg)
End If
- Else
End If
End Sub
@@ -62,7 +61,7 @@
End Sub
Private Sub maximizebutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles maximizebutton.Click
- If maximize = False Then
+ If Not maximize Then
meylocation = Windows2000.desktopicons.Height - Me.Height
mexlocation = Windows2000.desktopicons.Width - Me.Width
mewidth = Me.Width