summaryrefslogtreecommitdiff
path: root/windows 95/Windows Xp messagebox.vb
diff options
context:
space:
mode:
Diffstat (limited to 'windows 95/Windows Xp messagebox.vb')
-rwxr-xr-xwindows 95/Windows Xp messagebox.vb5
1 files changed, 2 insertions, 3 deletions
diff --git a/windows 95/Windows Xp messagebox.vb b/windows 95/Windows Xp messagebox.vb
index 941346d..c3cc893 100755
--- a/windows 95/Windows Xp messagebox.vb
+++ b/windows 95/Windows Xp messagebox.vb
@@ -47,7 +47,7 @@
Timer3.Stop()
End Sub
Private Sub programtopbar_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles top.MouseDown
- If moveable = True Then
+ If moveable Then
If e.Button = MouseButtons.Left Then
top.Capture = False
Const WM_NCLBUTTONDOWN As Integer = &HA1S
@@ -57,7 +57,6 @@
New IntPtr(HTCAPTION), IntPtr.Zero)
Me.DefWndProc(msg)
End If
- Else
End If
End Sub
@@ -104,7 +103,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 = Windowsxp2002damaged.desktopicons.Height - Me.Height
mexlocation = Windowsxp2002damaged.desktopicons.Width - Me.Width
mewidth = Me.Width