コード例 #1
0
ファイル: Home.cs プロジェクト: sumanzalodiya/privatemandal
        private void AllPendingPaymentListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PendingLoanAndPaymentList pendingPayment = new PendingLoanAndPaymentList();

            pendingPayment.strReportName = "All Pending Payment List";
            pendingPayment.ShowDialog();
        }
コード例 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (txtYear.Text.Trim().Length < 4)
     {
         MessageBox.Show("Enter currect year", "Enter year", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
     }
     else
     {
         PendingLoanAndPaymentList _obj = new PendingLoanAndPaymentList();
         string reportName = string.Empty;
         if (strReportName.Equals("Current Month EMI List"))
         {
             reportName = cmbMonth.Text + " " + txtYear.Text.Trim() + " - Payment List";
         }
         else if (strReportName.Equals("Monthly Summary"))
         {
             reportName = cmbMonth.Text + " " + txtYear.Text.Trim() + " - Monthly Summary";
         }
         else
         {
             reportName = strReportName;
         }
         _obj.strReportName = reportName;
         _obj.intMonth      = cmbMonth.SelectedIndex + 1;
         _obj.intYear       = Convert.ToInt32(txtYear.Text.Trim());
         _obj.fromDate      = dtpFromDate.Text.Trim();
         _obj.toDate        = dtpToDate.Text.Trim();
         _obj.type          = cmbPaymentList.Text.Trim();
         _obj.ShowDialog();
         this.Close();
     }
 }
コード例 #3
0
ファイル: Home.cs プロジェクト: sumanzalodiya/privatemandal
        private void balanceReportTillDateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PendingLoanAndPaymentList _obj = new PendingLoanAndPaymentList();

            _obj.strReportName = "Pending Loan Application";
            _obj.ShowDialog();
        }