public frmPaymentDetails(Transaction assessment, frmAssessment mainWindow)
 {
     InitializeComponent();
     this.assessment = assessment;
     this.schedule = assessment.Schedule;
     this.mainWindow = mainWindow;
 }
 public frmPaymentDetails(Transaction assessment, frmAssessment mainWindow)
 {
     InitializeComponent();
     this.assessment = assessment;
     this.schedule   = assessment.Schedule;
     this.mainWindow = mainWindow;
 }
        public frmDiscountDetails(Transaction transaction, frmAssessment mainWindow)
        {
            InitializeComponent();
            this.transaction = transaction;
            this.mainWindow  = mainWindow;

            discountsAvailable = transaction.AvailableDiscounts;
            discountsApplied   = transaction.AppliedDiscounts;
        }
        public frmDiscountDetails(Transaction transaction, frmAssessment mainWindow)
        {
            InitializeComponent();
            this.transaction = transaction;
            this.mainWindow = mainWindow;

            discountsAvailable = transaction.AvailableDiscounts;
            discountsApplied = transaction.AppliedDiscounts;
        }
Exemple #5
0
        private void btnAssess_Click(object sender, EventArgs e)
        {
            // Create a new instance of the child form.
            if (AssessmentForm == null)
            {
                AssessmentForm = new frmAssessment();
            }
            else
            {
                if (AssessmentForm.Created == false)
                {
                    AssessmentForm = new frmAssessment();
                }
            }
            // Make it a child of this MDI form before showing it.

            AssessmentForm.MdiParent = this;
            AssessmentForm.Show();
            AssessmentForm.Activate();
        }
Exemple #6
0
        private void btnAssess_Click(object sender, EventArgs e)
        {
            // Create a new instance of the child form.
            if (AssessmentForm == null)
            {
                AssessmentForm = new frmAssessment();
            }
            else
            {
                if (AssessmentForm.Created == false)
                {
                    AssessmentForm = new frmAssessment();
                }
            }
            // Make it a child of this MDI form before showing it.

            AssessmentForm.MdiParent = this;
            AssessmentForm.Show();
            AssessmentForm.Activate();
        }