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