Why Won't Form Get Focus?
问题 I have a form that is launched modally like this: private void find_street_Click(object sender, EventArgs e) { this.WindowState = FormWindowState.Minimized; Form findForm = new FindStreet(); findForm.ShowDialog(); this.WindowState = FormWindowState.Normal; } The form launches correctly, and the cursor is in the first text box, whose TabIndex is set to 1. Along with the InitializeComponent(); call, these commands are present. public FindStreet() { InitializeComponent(); this.TopMost = true;