TVSorter.View.ListDialog.AddButtonClick C# (CSharp) Method

AddButtonClick() private method

Handles Add button being clicked.
private AddButtonClick ( object sender, EventArgs e ) : void
sender object /// The sender of the event. ///
e System.EventArgs /// The arguments of the event. ///
return void
        private void AddButtonClick(object sender, EventArgs e)
        {
            if (!string.IsNullOrWhiteSpace(this.text.Text))
            {
                this.controller.Add(this.text.Text);
            }

            this.text.ResetText();
            this.text.Focus();
        }