private void Btn_generate_report_genreport_Click(object sender, EventArgs e)
        {
            String date = datetympkr_generate_report.Text;
            String dept = cmbbox_generate_report_dept.Text;

            //Income Report
            if (cmbbox_generate_report_reportType.Text == "Income Report")
            {
                IncomeReportForm incomeReportForm = new IncomeReportForm(date, dept);
                incomeReportForm.Show();
            }
            else if (cmbbox_generate_report_reportType.Text == "Expense Report")
            {
                ExpenseReportForm expenseReportForm = new ExpenseReportForm(date, dept);
                expenseReportForm.Show();
            }
            else if (cmbbox_generate_report_reportType.Text == "Expenditure Report")
            {
                ExpenditureReportForm expenditureReportForm = new ExpenditureReportForm(date);
                expenditureReportForm.Show();
            }
            else if (cmbbox_generate_report_reportType.Text == "Profit/Lost Report")
            {
                ProfitLostReportForm profitLostReportForm = new ProfitLostReportForm(date, dept);
                profitLostReportForm.Show();
            }
            else if (cmbbox_generate_report_reportType.Text == "General Ledger")
            {
                GeneralLegerReportForm generalLegerReportForm = new GeneralLegerReportForm(date, dept);
                generalLegerReportForm.Show();
            }
        }
Ejemplo n.º 2
0
        private void expenseReportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ExpenseReportForm eForm = new ExpenseReportForm();

            eForm.Show();
        }