private void toolStripButton2_Click(object sender, EventArgs e) { var f = new SettingWizard { FormBorderStyle = FormBorderStyle.FixedSingle, MaximizeBox = false, MinimizeBox = false, StartPosition = FormStartPosition.CenterScreen }; f.ShowDialog(); }
private void settingToolStripMenuItem_Click(object sender, EventArgs e) { //_settingForm = new SettingForm //{ // MdiParent = this, // WindowState = FormWindowState.Maximized //}; //_settingForm.Show(); var f = new SettingWizard { FormBorderStyle = FormBorderStyle.FixedSingle, MaximizeBox = false, MinimizeBox = false, StartPosition = FormStartPosition.CenterScreen }; f.ShowDialog(); }