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 + "."); }
public static void SetHomepage() { settingsPane settingsPane = new settingsPane(); settingsPane.ShowDialog(); }
public void OpenSettings() { settingsPane settingsPane = new settingsPane(); settingsPane.ShowDialog(); statusStrip1.Visible = MainWindow.showStatus; }
private void OpenSettings() { settingsPane settingsPane = new settingsPane(); settingsPane.ShowDialog(); debugToolStripMenuItem.Visible = MainWindow.showDebugOptions; statusStrip1.Visible = MainWindow.showStatus; }