예제 #1
0
        private void NewCommand_Click(object sender, EventArgs e)
        {
            CommandSelect newCom = new CommandSelect();

            newCom.manager = this;
            newCom.Show();
        }
예제 #2
0
        void launchEditor(string type)
        {
            switch (type)
            {
            case "program":
                ProgramSelect newProg = new ProgramSelect();
                newProg.manager = this;
                newProg.Show();
                break;

            case "command":
                CommandSelect newCom = new CommandSelect();
                newCom.manager = this;
                newCom.Show();
                break;

            case "file":
                FileSelect newFile = new FileSelect();
                newFile.manager = this;
                newFile.Show();
                break;
            }
        }