Esempio n. 1
0
 private void BTN_ADD_MACRO_Click(object sender, EventArgs e)
 {
     if (tabControler.TabPages[tabControler.SelectedIndex].Text.StartsWith("_") == true)
     {
         MacroEditor mac = new MacroEditor(this, null);
         mac.ShowDialog();
         mac.Dispose();
     }
 }
Esempio n. 2
0
        private void Btn_Click(object sender, EventArgs e)
        {
            Button btn = (Button)sender;

            Tab1_Click(btn.Parent, null);
            MacroEditor mac = new MacroEditor(this, (TableLayoutPanel)btn.Parent);

            mac.ShowDialog();
            mac.Dispose();
        }