private void topEmployeeByProductsButton_ItemClick(object sender, ItemClickEventArgs e) { if (IsOpened(maxEmployeeForm)) { maxEmployeeForm.Focus(); } else { maxEmployeeForm = new MaxEmployeeByNumber(); maxEmployeeForm.MdiParent = this; maxEmployeeForm.Show(); } }
private void topEmployeeByProductsButton_ItemClick(object sender, ItemClickEventArgs e) { if (IsOpened(maxEmployeeForm)) maxEmployeeForm.Focus(); else { maxEmployeeForm = new MaxEmployeeByNumber(); maxEmployeeForm.MdiParent = this; maxEmployeeForm.Show(); } }