TVSorter.View.ListDialog.AddButtonClick C# (CSharp) 메소드

AddButtonClick() 개인적인 메소드

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. ///
리턴 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();
        }