diff options
Diffstat (limited to 'Histacom2/TitleScreen.cs')
| -rw-r--r-- | Histacom2/TitleScreen.cs | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/Histacom2/TitleScreen.cs b/Histacom2/TitleScreen.cs index 37539d9..ea06ce2 100644 --- a/Histacom2/TitleScreen.cs +++ b/Histacom2/TitleScreen.cs @@ -137,9 +137,6 @@ namespace Histacom2 SettingsToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); HelpToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); ShutdownToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); - - // Start the VM Mode timer - vmModeTimer.Start(); } private static void leet() @@ -155,23 +152,6 @@ namespace Histacom2 wm.Init(leet, "Thank You", null, true, true); } - // The VM Mode timer / checker. Updates every 100ms - private void vmModeTimer_Tick(object sender, EventArgs e) - { - // Check for VM mode - if (vm_mode.Checked == true) - { - VM_Width.Visible = true; - VM_Height.Visible = true; - } - // If VM Mode is disabled - else - { - VM_Width.Visible = false; - VM_Height.Visible = false; - } - } - #region Menu Buttons #region NewGame @@ -296,5 +276,21 @@ namespace Histacom2 AchievementScreen achievelist = new AchievementScreen(); achievelist.ShowDialog(); } + + private void vm_mode_CheckStateChanged(object sender, EventArgs e) + { + // Check for VM mode + if (vm_mode.Checked == true) + { + VM_Width.Visible = true; + VM_Height.Visible = true; + } + // If VM Mode is disabled + else + { + VM_Width.Visible = false; + VM_Height.Visible = false; + } + } } } |
