Exemple #1
0
        private void addCustomerPaymentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddCustomerPayment aAddCustomerPayment = new AddCustomerPayment();

            // aAddCustomerPayment.MdiParent = Helper.Instance.ActiveMainWindow;
            aAddCustomerPayment.Show();
        }
Exemple #2
0
 private void AddCustomerPaymentRibnBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.GetEventStatues(Calcium_RMS.Events.AddCustomerPayment) == EventStatus.Permit)
     {
         AddCustomerPayment aAddCustomerPayment = new AddCustomerPayment();
         __AddTabPage(aAddCustomerPayment, __CustomersColor);
     }
     else
     {
         MessageBox.Show(MsgTxt.PrivUserNotAllowedTxt, MsgTxt.InformationCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }