/* Loading of other forms */ // Show settings private void mnuShowSettings(object sender, EventArgs e) { frmSettings frmSettings = new frmSettings(this); frmSettings.ShowDialog(this); }
private void frmMain_Load(object sender, EventArgs e) { if (Properties.Settings.Default.firstTimeOpening) { frmSettings frmS = new frmSettings(this); frmS.ShowDialog(); Properties.Settings.Default.Upgrade(); Properties.Settings.Default.firstTimeOpening = false; Properties.Settings.Default.Save(); } }