Example #1
0
        private void btnGenerateReport_Click(object sender, EventArgs e)
        {
            frmReportGeneration reportGeneration = new frmReportGeneration();
            DataTable           dt = new DataTable();

            dt = (DataTable)this.dataGridView1.DataSource;
            reportGeneration.Type     = "PaymentHistory";
            reportGeneration.dtRecord = dt;
            reportGeneration.ShowDialog();
        }
Example #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            frmReportGeneration reportGeneration = new frmReportGeneration();
            DataTable           dt = new DataTable();

            dt = (DataTable)this.dtEntryList.DataSource;
            reportGeneration.Type     = "Entry";
            reportGeneration.dtRecord = dt;
            reportGeneration.ShowDialog();
        }
Example #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmReportGeneration reportGeneration = new frmReportGeneration();
            DataSet             dt = new DataSet();

            dt = MemberDetailsData;
            reportGeneration.Type             = "MemberDistance";
            reportGeneration.dtMemberDistance = dt;
            reportGeneration.dtRecord         = dt.Tables[0];
            reportGeneration.ShowDialog();
        }
Example #4
0
 private void button2_Click_1(object sender, EventArgs e)
 {
     try
     {
         frmReportGeneration reportGeneration = new frmReportGeneration();
         DataTable           dt = new DataTable();
         dt = (DataTable)this.dataGridView1.DataSource;
         reportGeneration.Type     = "RaceResult";
         reportGeneration.dtRecord = dt;
         reportGeneration.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(Common.Common.CustomError(ex.Message), "Error");
     }
 }
Example #5
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         frmReportGeneration reportGeneration = new frmReportGeneration();
         DataTable           dt = new DataTable();
         dt = (DataTable)this.dtMemberList.DataSource;
         reportGeneration.Type     = "Entry";
         reportGeneration.dtRecord = dt;
         reportGeneration.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(Common.Common.CustomError(ex.Message), "Error");
     }
 }
Example #6
0
 private void GenerateBillingStatement()
 {
     try
     {
         frmReportGeneration reportGeneration = new frmReportGeneration();
         DataTable           dt = new DataTable();
         dt = (DataTable)this.dtTransactionDetailsList.DataSource;
         reportGeneration.Type               = "BillingStatement";
         reportGeneration.dtRecord           = dt;
         reportGeneration.dtBillingStatement = BillingStatementDetails;
         reportGeneration.ShowDialog();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }