示例#1
0
        private void vendorsDebitCreditToolStripMenuItem_Click(object sender, EventArgs e)
        {
            VendorsDebitCredit aVendorDebitCredit = new VendorsDebitCredit();

            // aVendorDebitCredit.MdiParent = Helper.Instance.ActiveMainWindow;

            aVendorDebitCredit.Show();
            aVendorDebitCredit.WindowState = FormWindowState.Normal;
        }
示例#2
0
文件: Main2.cs 项目: SariSultan/RMS
 private void VendorDebitCreditRbnBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.VendorDebitCredit) == EventStatus.Permit)
     {
         VendorsDebitCredit aVendorDebitCredit = new VendorsDebitCredit();
         __AddTabPage(aVendorDebitCredit, __VendorsColor);
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }