private void btnConfigTabOrder_Click(object sender, EventArgs e) { var f = new frmQuickTabConfig(_tabOrderConfig); f.ShowDialog(); SaveTabOrderConfig(); ActiveControl = (from control in arrAllControl where (control.Name == (from x in _tabOrderConfig where x.ControlTabStop select x.ControlName).FirstOrDefault()) select control).FirstOrDefault(); }