/// <summary>
 /// Handler for clicking the cancel button.
 /// </summary>
 /// <param name="sender">sender object</param>
 /// <param name="e">EventArgs data</param>
 private void CancelButtonClick(object sender, EventArgs e)
 {
     this.action       = VaultMaintenance.None;
     this.source       = null;
     this.target       = null;
     this.DialogResult = DialogResult.Cancel;
     Close();
 }
 /// <summary>
 /// Handler for clicking the copy radio button
 /// </summary>
 /// <param name="sender">sender object</param>
 /// <param name="e">EventArgs data</param>
 private void CopyRadioButtonCheckedChanged(object sender, EventArgs e)
 {
     if (this.copyRadioButton.Checked)
     {
         if (this.action != VaultMaintenance.Copy)
         {
             this.action = VaultMaintenance.Copy;
             this.instructionsLabel.Text = Resources.MaintenanceCopy;
             this.targetTextBox.Enabled  = true;
             this.targetTextBox.Show();
             this.targetLabel.Show();
             this.vaultListComboBox.Enabled = true;
             this.vaultListComboBox.Show();
             this.sourceLabel.Show();
         }
     }
 }
 /// <summary>
 /// Handler for clicking the new radio button
 /// </summary>
 /// <param name="sender">sender object</param>
 /// <param name="e">EventArgs data</param>
 private void NewRadioButtonCheckedChanged(object sender, EventArgs e)
 {
     if (this.newRadioButton.Checked)
     {
         if (this.action != VaultMaintenance.New)
         {
             this.action = VaultMaintenance.New;
             this.instructionsLabel.Text = string.Concat(Resources.MaintenanceNew, DisplayInvalidChars(this.invalidChars));
             this.targetTextBox.Enabled  = true;
             this.targetTextBox.Show();
             this.targetLabel.Show();
             this.vaultListComboBox.Enabled = false;
             this.vaultListComboBox.Hide();
             this.sourceLabel.Hide();
         }
     }
 }