private void button1_Click_2(object sender, EventArgs e) { /* * Eval ev = new Eval(); * * * * * ev.Compile("System.Windows.Forms.MessageBox.Show(\"Banana\");"); * * if (ev.CompilerErrors!=null) { * string s=""; * foreach (System.CodeDom.Compiler.CompilerError ce in ev.CompilerErrors) { * s += ce.ToString()+"\n"; * } * MessageBox.Show(s, "Compile error"); * * } else { * * ev.Execute(); * * } * */ MacroEditor m = new MacroEditor(); m.ShowDialog(); }
private void macroEditorToolStripMenuItem_Click(object sender, EventArgs e) { MacroEditor me = new MacroEditor(); me.Show(); }