Example #1
0
        private void LoanViewForm_Load(object sender, EventArgs e)
        {
            loanGrid.DataSource = accountLoans.Summary;
            GridFormatter gridFormatter = new GridFormatter(loanGrid);

            gridFormatter.DefaultFormat();
        }
Example #2
0
        private void PaymentHistory_Load(object sender, EventArgs e)
        {
            loadPaymentHistory();
            GridFormatter formatter = new GridFormatter(historyGrid);

            formatter.DefaultFormat();
            orderGridColumns();
        }
        private void FutureCashFlowForm_Load(object sender, EventArgs e)
        {
            NextMonthPayments payments = new NextMonthPayments(DatabaseFactory.Default);
            nextPaymentsGrid.DataSource = payments.Summary;

            GridFormatter gridFormatter = new GridFormatter(nextPaymentsGrid);
            gridFormatter.DefaultFormat();

            totalGrid.DataSource = payments.SummaryTotal(nextPaymentsGrid.DataSource as DataTable);
            gridFormatter.TotalGridFormat(totalGrid);
        }
Example #4
0
        private void formatGrids()
        {
            GridFormatter summaryFormatter = new GridFormatter(summaryGrid);

            summaryFormatter.DefaultFormat();
            orderGridColumns(summaryGrid);

            GridFormatter totalFormatter = new GridFormatter(totalGrid);

            totalFormatter.TotalGridFormat();
            orderGridColumns(totalGrid);
        }
Example #5
0
        private void FutureCashFlowForm_Load(object sender, EventArgs e)
        {
            NextMonthPayments payments = new NextMonthPayments(DatabaseFactory.Default);

            nextPaymentsGrid.DataSource = payments.Summary;

            GridFormatter gridFormatter = new GridFormatter(nextPaymentsGrid);

            gridFormatter.DefaultFormat();

            totalGrid.DataSource = payments.SummaryTotal(nextPaymentsGrid.DataSource as DataTable);
            gridFormatter.TotalGridFormat(totalGrid);
        }
Example #6
0
        private void formatGrids()
        {
            GridFormatter summaryFormatter = new GridFormatter(summaryGrid);
            summaryFormatter.DefaultFormat();
            orderGridColumns(summaryGrid);

            GridFormatter totalFormatter = new GridFormatter(totalGrid);
            totalFormatter.TotalGridFormat();
            orderGridColumns(totalGrid);
        }
Example #7
0
 private void LoanViewForm_Load(object sender, EventArgs e)
 {
     loanGrid.DataSource = accountLoans.Summary;
     GridFormatter gridFormatter = new GridFormatter(loanGrid);
     gridFormatter.DefaultFormat();
 }
Example #8
0
 private void PaymentHistory_Load(object sender, EventArgs e)
 {
     loadPaymentHistory();
     GridFormatter formatter = new GridFormatter(historyGrid);
     formatter.DefaultFormat();
     orderGridColumns();
 }