public CommissionPaymentFormController(CommissionPaymentForm frmCommissionPayment)
            : base(frmCommissionPayment)
        {
            this.frmCommissionPayment = frmCommissionPayment;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCommissionPayment = SamsaraAppContext.Resolve <ICommissionPaymentService>();
            }
        }
Exemple #2
0
 private void pagosDeComisionesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         CommissionPaymentForm frmCommissionPayment = new CommissionPaymentForm();
         frmCommissionPayment.Show();
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }