Esempio n. 1
0
        private void PurchaseVoucherBtn_Click(object sender, EventArgs e)
        {
            PurchaseVoucher aPurchaseVoucher = new PurchaseVoucher();

            aPurchaseVoucher.Show();
            //aPurchaseVoucher.MdiParent = this;
            UpdateMain();
        }
Esempio n. 2
0
 private void newPurchaseVoucherToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.PurchaseVoucher) == EventStatus.Permit)
     {
         PurchaseVoucher aPurchaseVoucher = new PurchaseVoucher();
         aPurchaseVoucher.Show();
         //  aPurchaseVoucher.MdiParent = Helper.Instance.ActiveMainWindow;
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }