private void SetupEventHandlers()
 {
     Disposed += PackageSourcesOptionsControl_Disposed;
     NewPackageName.TextChanged   += (o, e) => UpdateUI();
     NewPackageSource.TextChanged += (o, e) => UpdateUI();
     NewPackageName.Focus();
     UpdateUI();
 }
 private void SetupEventHandlers()
 {
     NewPackageName.TextChanged   += (o, e) => UpdateUI();
     NewPackageSource.TextChanged += (o, e) => UpdateUI();
     MoveUpButton.Click           += (o, e) => MoveSelectedItem(-1);
     MoveDownButton.Click         += (o, e) => MoveSelectedItem(1);
     NewPackageName.Focus();
     UpdateUI();
 }
 private void ClearNameSource()
 {
     NewPackageName.Text   = string.Empty;
     NewPackageSource.Text = string.Empty;
     NewPackageName.Focus();
 }