private void optionsToolStripMenuItem_Click(object sender, EventArgs e) { PKStudio.Forms.Options.PKOptions mOptionsForm = new Forms.Options.PKOptions(); mOptionsForm.ShowDialog(this); mOptionsForm.Focus(); }
private void MainForm_Shown(object sender, EventArgs e) { PKStudio.Forms.Options.PKOptions mOptionsForm = new Forms.Options.PKOptions(); if (!mOptionsForm.OptionsLoaded) { mOptionsForm.ShowDialog(this); mOptionsForm.Focus(); } }