Пример #1
0
 private void changeStylesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmStyleConfig.Visible == false)
     {
         frmStyleConfig = new ConfigStyles(SciEditor, lex.GetStyleNameIndex());
         frmStyleConfig.Show();
     }
     else
     {
         frmStyleConfig.BringToFront();
     }
 }
Пример #2
0
 private void changeStylesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmStyleConfig == null || frmStyleConfig.Visible == false)
     {
         frmStyleConfig = new ConfigStyles();
         frmStyleConfig.Show();
     }
     else
     {
         frmStyleConfig.BringToFront();
     }
 }