diff options
| author | jakeypearce <[email protected]> | 2015-03-19 19:39:44 +0000 |
|---|---|---|
| committer | jakeypearce <[email protected]> | 2015-03-19 19:39:44 +0000 |
| commit | 5a66fa33aa3ee6cf168bf03a6e106211d39e3d03 (patch) | |
| tree | 3a2116e06446e7f941f8dfcf0c1b114e4d026534 /windows 95/windows2000messagebox.vb | |
| parent | 01a3011ef2fc1878863cf4e9e9324e23e96b1ad5 (diff) | |
| parent | abf7b2348417391c7e1a03fa66f01e46b202885e (diff) | |
| download | histacom-Mac_OS_X_Tiger.tar.gz histacom-Mac_OS_X_Tiger.tar.bz2 histacom-Mac_OS_X_Tiger.zip | |
Merge branch 'master' of https://github.com/Histacom/HistacomMac_OS_X_Tiger
Diffstat (limited to 'windows 95/windows2000messagebox.vb')
| -rwxr-xr-x | windows 95/windows2000messagebox.vb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/windows 95/windows2000messagebox.vb b/windows 95/windows2000messagebox.vb index 22f313e..15219c7 100755 --- a/windows 95/windows2000messagebox.vb +++ b/windows 95/windows2000messagebox.vb @@ -48,7 +48,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
@@ -58,7 +58,6 @@ New IntPtr(HTCAPTION), IntPtr.Zero)
Me.DefWndProc(msg)
End If
- Else
End If
End Sub
@@ -105,7 +104,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
|
