CNCMaps.GUI.MainForm.ExecuteCommand C# (CSharp) Метод

ExecuteCommand() приватный Метод

private ExecuteCommand ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void
        private void ExecuteCommand(object sender, EventArgs e)
        {
            if (File.Exists(tbInput.Text) == false) {
                UpdateStatus("aborted, no input file", 100);
                MessageBox.Show("Input file doesn't exist. Aborting.");
                return;
            }

            if (!cbOutputPNG.Checked && !cbOutputJPG.Checked && !cbReplacePreview.Checked) {
                UpdateStatus("aborted, no output format picked", 100);
                MessageBox.Show("Either PNG, JPEG or Replace Preview must be checked.", "Nothing to do..", MessageBoxButtons.OK,
                    MessageBoxIcon.Information);
                return;
            }
            tabControl.SelectTab(tpLog);
            ExecuteRenderer();
        }