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