summaryrefslogtreecommitdiff
path: root/shiftos_next/file skimmer.vb
diff options
context:
space:
mode:
authorTheUltimateHacker <[email protected]>2015-05-27 20:39:48 -0400
committerTheUltimateHacker <[email protected]>2015-05-27 20:39:48 -0400
commit6c5f8c6381166edf0824aed78a1c3f05b0c562d1 (patch)
tree360c016b59560bd9da72144fdd605897a8f11374 /shiftos_next/file skimmer.vb
parentaf7679661260c7c9b02e8e746a10f2db42afe70b (diff)
downloadshiftos-next-6c5f8c6381166edf0824aed78a1c3f05b0c562d1.tar.gz
shiftos-next-6c5f8c6381166edf0824aed78a1c3f05b0c562d1.tar.bz2
shiftos-next-6c5f8c6381166edf0824aed78a1c3f05b0c562d1.zip
Draggable Windows in the BWM
We're one step closer to the full Basic Window Manager implementation. I've created a UserControl called "TitleBar" for the BWM. This UserControl contains the window handling code for draggable windows, as well as a design-time settable AppName property that allows you to change the application display name (what text is shown on the titlebar). Shiftorium upgrades to unlock Draggable Windows will be added soon, but I have to clean the beast.
Diffstat (limited to 'shiftos_next/file skimmer.vb')
-rw-r--r--shiftos_next/file skimmer.vb12
1 files changed, 1 insertions, 11 deletions
diff --git a/shiftos_next/file skimmer.vb b/shiftos_next/file skimmer.vb
index 3ca3602..4b2d9b1 100644
--- a/shiftos_next/file skimmer.vb
+++ b/shiftos_next/file skimmer.vb
@@ -123,17 +123,7 @@
Else
pnlsave.Visible = False
End If
- If boughtbasicwm = True Then
- pnltop.Show()
- Me.WindowState = FormWindowState.Normal
- Me.Left = (Screen.PrimaryScreen.Bounds.Width - Me.Width) / 2
- Me.Top = (Screen.PrimaryScreen.Bounds.Height - Me.Height) / 2
- Me.TopMost = True
- Else
- pnltop.Hide()
- Me.WindowState = FormWindowState.Maximized
- Me.TopMost = False
- End If
+ pnltop.DetermineMyVisibility()
End Sub
Private Sub ExitSessionToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ExitSessionToolStripMenuItem.Click