Exemple #1
0
        private void fctb_KeyDown(object sender, KeyEventArgs e)
        {
            this.Text = Variables.file + " - NIDE";

            if (e.KeyCode == Keys.S && e.Modifiers == Keys.Control)
            {
                saveFile();
            }
            else if (e.KeyCode == Keys.F5)
            {
                print("Info: Running...");

                cmds.Run r = new cmds.Run();
                r.run(new List <string>());

                return;
            }
            else if (e.KeyCode == Keys.F6)
            {
                command.LoadConf c = new command.LoadConf();
                c.run(new List <string>());
                print("Info: Config geladen!");
            }
        }
Exemple #2
0
        private void runToolStripMenuItem_Click(object sender, EventArgs e)
        {
            cmds.Run r = new cmds.Run();

            r.run(new List <string>());
        }