private void optiToolStripMenuItem_Click(object sender, EventArgs e) { stopScanningInterval(); options showOptions = new options(); showOptions.ShowDialog(); getSavedOptions(); }
private void checkOptionsExist() { if (!File.Exists(AppHelper.settingsFile)) { MessageBox.Show("No options have been set. Please set them now.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); stopScanningInterval(); options showOptions = new options(); showOptions.ShowDialog(); } getSavedOptions(); }