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

            // aAddCustomerPayment.MdiParent = Helper.Instance.ActiveMainWindow;
            aAddCustomerPayment.Show();
        }
예제 #2
0
파일: Main2.cs 프로젝트: SariSultan/RMS
 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);
     }
 }