aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-04 17:12:25 -0400
committerlempamo <[email protected]>2017-07-04 17:12:25 -0400
commitac75c9cfdb27723b99a3d408fd54518d84cd2853 (patch)
tree80e3196d02c6a271cceeac9d6d6c11152be2e53f /TimeHACK.Main/TitleScreen.cs
parent3a897bb5358db42fee5d3a0f6890d048893eac76 (diff)
downloadhistacom2-ac75c9cfdb27723b99a3d408fd54518d84cd2853.tar.gz
histacom2-ac75c9cfdb27723b99a3d408fd54518d84cd2853.tar.bz2
histacom2-ac75c9cfdb27723b99a3d408fd54518d84cd2853.zip
Added Prototype Windows 98
Diffstat (limited to 'TimeHACK.Main/TitleScreen.cs')
-rw-r--r--TimeHACK.Main/TitleScreen.cs29
1 files changed, 5 insertions, 24 deletions
diff --git a/TimeHACK.Main/TitleScreen.cs b/TimeHACK.Main/TitleScreen.cs
index bd3399c..6d11dc6 100644
--- a/TimeHACK.Main/TitleScreen.cs
+++ b/TimeHACK.Main/TitleScreen.cs
@@ -80,11 +80,11 @@ namespace TimeHACK
frm98.TopMost = true;
frm98.FormBorderStyle = FormBorderStyle.None;
frm98.WindowState = FormWindowState.Maximized;
- if (vm_mode.Checked == true)
- {
- frm98.Size = new Size(Convert.ToInt32(VM_Width.Text), Convert.ToInt32(VM_Height.Text));
- frm98.FormBorderStyle = FormBorderStyle.Fixed3D;
- }
+ //if (vm_mode.Checked == true)
+ //{
+ // frm98.Size = new Size(Convert.ToInt32(VM_Width.Text), Convert.ToInt32(VM_Height.Text));
+ // frm98.FormBorderStyle = FormBorderStyle.Fixed3D;
+ //}
frm98.Show();
Hide();
@@ -102,25 +102,6 @@ namespace TimeHACK
}
}
- void TitleBarDrag(object sender, MouseEventArgs e)
- {
- if (e.Button == MouseButtons.Left && max == false)
- {
- ReleaseCapture();
- SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0);
- }
- }
-
- void MaximiseButton(object sender, MouseEventArgs e)
- {
- if (this.WindowState == FormWindowState.Normal)
- {
- this.WindowState = FormWindowState.Maximized;
- } else {
- this.WindowState = FormWindowState.Normal;
- }
- }
-
void closeButton(object sender, MouseEventArgs e)
{
Close();