Yaircc.CommandDialog.OKButton_Click C# (CSharp) Method

OKButton_Click() private method

Handles the Click event of System.Windows.Forms.Button.
private OKButton_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The event arguments.
return void
        private void OKButton_Click(object sender, EventArgs e)
        {
            this.command = this.commandTextBox.Text;
            this.DialogResult = DialogResult.OK;
        }