コード例 #1
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvMonthlyAttendance, "Monthly Attendance Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "MAR16 " + ex.Message;
     }
 }
コード例 #2
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvDailySalary, "Daily Salary Report", 0, 0, "Excel", txtFromDate.Text, txtToDate.Text, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "DSR14" + ex.Message;
     }
 }
コード例 #3
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvSalaryPackageDetails, "Salary Package Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "SPDR:8" + ex.Message;
     }
 }
コード例 #4
0
ファイル: frmSalesReport.cs プロジェクト: nwelsheimer/NBS
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvSIReport, "Sales Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "SIRPT20:" + ex.Message;
     }
 }
コード例 #5
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvMonthlyAttendance, "Monthly Attendance Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("MAR20" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #6
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(DGVClraranceReport, "PDC Clearance Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PCREP15:" + ex.Message;
     }
 }
コード例 #7
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dvgPartyAddressBook, "Party Address Book", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("PAB:17 " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #8
0
ファイル: frmDebitNoteReport.cs プロジェクト: nwelsheimer/NBS
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvDebitNoteReport, "Debit Note Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "DRNTREP16:" + ex.Message;
     }
 }
コード例 #9
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvAccountLedgerReport, "Account Ledger Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "ALREP17:" + ex.Message;
     }
 }
コード例 #10
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvRejectionInReport, "Rejection In Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("RIReport:19 " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #11
0
        /// <summary>
        /// On 'Export' button click to export the report to Excel
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>

        private void btnExport_Click(object sender, EventArgs e)
        {
            try
            {
                ExportNew ex = new ExportNew();
                ex.ExportExcel(dgvPurchaseOrderReport, "Purchase Order Report", 0, 0, "Excel", null, null, "");
            }
            catch (Exception ex)
            {
                formMDI.infoError.ErrorString = "PORP14:" + ex.Message;
            }
        }
コード例 #12
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvSalaryPackageDetails, "Salary Package Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("SPDR:10" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #13
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvProductBatch, "Product Batch Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PVSBR15:" + ex.Message;
     }
 }
コード例 #14
0
        /// <summary>
        /// On 'Export' button click to export the report to Excel
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnExport_Click(object sender, EventArgs e)
        {
            try
            {

                ExportNew ex = new ExportNew();
                ex.ExportExcel(dgvBonusDeductionReport, "Bonus Deduction Report", 0, 0,"Excel", txtDate.Text, txtTodate.Text, "");
            }
            catch (Exception ex)
            {
                MessageBox.Show("BDR:19" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
コード例 #15
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvPayHead, "Pay Head Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("PHR:12" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #16
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvMaterialReceiptReport, "Material Receipt Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("MRR28: " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #17
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(DGVClraranceReport, "PDC Clearance Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("PCREP24:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #18
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvDeliveryNoteReport, "Delivery Note Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("DNREP32 :" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #19
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvContraReport, "Contra Voucher Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("CRT:23" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #20
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvDailyAttendanceReport, "Daily Attendance Report", 0, 0, "Excel", txtDate.Text, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("DAR:18" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #21
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvMonthlySalary, "Monthly Salary Report", 0, 0, "Excel", txtFromDate.Text, txtToDate.Text, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("MSR:23" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #22
0
        /// <summary>
        /// On 'Export' button click to export the report to Excel
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnExport_Click(object sender, EventArgs e)
        {

            try
            {
                ExportNew ex = new ExportNew();
                ex.ExportExcel(dgvPdcReceivableSearch, "PDC Receivable Report", 0, 0, "Excel", null, null, "");
            }
            catch (Exception ex)
            {
                MessageBox.Show("PRREP33: " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
コード例 #23
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvsalesReturnReport, "Sales Return Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("SRRprt26 " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #24
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvSalaryPackageDetails, "Salary Package Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("SPDR:10" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #25
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dvgPartyAddressBook, "Party Address Book", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("PAB:17 " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
コード例 #26
0
 /// <summary>
 /// On 'Export' button click to export the report to Excel
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         ExportNew ex = new ExportNew();
         ex.ExportExcel(dgvCashOrBank, "Cash/Bank Book", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         MessageBox.Show("CBBOOK17: " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }