private void changeStylesToolStripMenuItem_Click(object sender, EventArgs e) { if (frmStyleConfig.Visible == false) { frmStyleConfig = new ConfigStyles(SciEditor, lex.GetStyleNameIndex()); frmStyleConfig.Show(); } else { frmStyleConfig.BringToFront(); } }
private void changeStylesToolStripMenuItem_Click(object sender, EventArgs e) { if (frmStyleConfig == null || frmStyleConfig.Visible == false) { frmStyleConfig = new ConfigStyles(); frmStyleConfig.Show(); } else { frmStyleConfig.BringToFront(); } }