private void selectToolStripButton2_Click(object sender, EventArgs e) { MDIChild mc = this.ActiveMdiChild as MDIChild; if (mc == null) return; mc.SelectionTool = selectToolStripButton2.Checked; SetMDIChildFocus(mc); }