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