private void ListCustomersBtn_Click(object sender, EventArgs e) { ListCustomers aListCustomers = new ListCustomers(); aListCustomers.Show(); aListCustomers.MdiParent = this; UpdateMain(); }
private void ListCustomersBtn_Click(object sender, EventArgs e) { if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.ListCustomers) == EventStatus.Permit) { ListCustomers aListCustomers = new ListCustomers(); aListCustomers.Show(); // aListCustomers.MdiParent = Helper.Instance.ActiveMainWindow; } else { MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information); } }