예제 #1
0
 public frmPaymentDetails(Transaction assessment, frmAssessment mainWindow)
 {
     InitializeComponent();
     this.assessment = assessment;
     this.schedule = assessment.Schedule;
     this.mainWindow = mainWindow;
 }
예제 #2
0
 public frmPaymentDetails(Transaction assessment, frmAssessment mainWindow)
 {
     InitializeComponent();
     this.assessment = assessment;
     this.schedule   = assessment.Schedule;
     this.mainWindow = mainWindow;
 }
예제 #3
0
        public frmDiscountDetails(Transaction transaction, frmAssessment mainWindow)
        {
            InitializeComponent();
            this.transaction = transaction;
            this.mainWindow  = mainWindow;

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

            discountsAvailable = transaction.AvailableDiscounts;
            discountsApplied = transaction.AppliedDiscounts;
        }
예제 #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();
        }
예제 #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();
        }