예제 #1
0
        private void cliButtonClick(object sender, EventArgs e)
        {
            // Command Line implementation
            var formCLI = new Form_CLI();

            formCLI.ShowDialog();
        }
예제 #2
0
        /****************************************
        * ICON STUFF
        * **************************************/
        private void CommandIcon_Click(object sender, EventArgs e)
        {
            // Command Line implementation

            if (BootOptions.enableCommandPrompt == false)
            {
                const string message = "Command Prompt Access Restricted in Current Boot Options.";
                var          result  = MessageBox.Show(message);
                return;
            }
            var formCLI = new Form_CLI();

            formCLI.Show();

            Process.newProcess("Command Prompt", DateTime.Now);
        }