aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
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();