private void customerDebitCreditToolStripMenuItem_Click(object sender, EventArgs e) { CustomerDebitCredit aCustomerDebitCredit = new CustomerDebitCredit(); //aCustomerDebitCredit.MdiParent = Helper.Instance.ActiveMainWindow; aCustomerDebitCredit.WindowState = FormWindowState.Normal; aCustomerDebitCredit.Show(); }
private void CustDebitCreditRbnBtn_Click(object sender, EventArgs e) { if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.CustomerDebitCredit) == EventStatus.Permit) { CustomerDebitCredit aCustDebitCredit = new CustomerDebitCredit(); __AddTabPage(aCustDebitCredit, __CustomersColor); } else { MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information); } }