예제 #1
0
 private void Cancel_Click(object sender, EventArgs e)
 {
     NewNameBox.Clear();
     Close();
 }
예제 #2
0
 private void RenameDialog_Shown(object sender, EventArgs e)
 {
     NewNameBox.SelectAll();
     NewNameBox.Focus();
 }
예제 #3
0
 public Form2()
 {
     InitializeComponent();
     NewNameBox.Focus();
     LocationCBox.SelectedIndex = 0;
 }