private void okButton_Click(object sender, EventArgs e)
 {
     if (IsDuplicateName(newNameTextBox.Text))
     {
         MessageBox.Show(ConstData.MessageDuplicateName, "Duplicate Name", MessageBoxButtons.OK);
         return;
     }
     m_settingWithNameOperation.Rename(newNameTextBox.Text);
     this.Close();
 }
示例#2
0
 private void okButton_Click(object sender, EventArgs e)
 {
     m_settingWithNameOperation.Rename(newNameTextBox.Text);
 }