Esempio n. 1
0
        public static void SetResolution()
        {
            settingsPane settingsPane = new settingsPane();

            settingsPane.ShowDialog();

            int ResX = settingsPane.ReturnResX();
            int ResY = settingsPane.ReturnResY();

            // For Debugging.
            MessageBox.Show("ResX: " + ResX + ", ResY: " + ResY + ".");
        }
Esempio n. 2
0
        public static void SetHomepage()
        {
            settingsPane settingsPane = new settingsPane();

            settingsPane.ShowDialog();
        }
Esempio n. 3
0
 public void OpenSettings()
 {
     settingsPane settingsPane = new settingsPane();
     settingsPane.ShowDialog();
     statusStrip1.Visible = MainWindow.showStatus;
 }
Esempio n. 4
0
 private void OpenSettings()
 {
     settingsPane settingsPane = new settingsPane();
     settingsPane.ShowDialog();
     debugToolStripMenuItem.Visible = MainWindow.showDebugOptions;
     statusStrip1.Visible = MainWindow.showStatus;
 }