예제 #1
0
 private void btnLedger_Click(object sender, EventArgs e)
 {
     int ApplicationId = cboSanctionNo.ValueGet("Please Select Loan Sanction No");
     if (ApplicationId == 0)
     {
         cboSanctionNo.Focus();
         return;
     }
     Frm_LoanLedger F = new Frm_LoanLedger();
     F.LoanId = ApplicationId;
     F.Show();
 }
예제 #2
0
 private void dg_head_KeyDown(object sender, KeyEventArgs e)
 {
     try
     {
         if (e.KeyData == Keys.Enter && dg_head.SelectedRows.Count == 1)
         {
             e.SuppressKeyPress = true;
             e.Handled = true;
             int Id = dg_head.SelectedRows[0].Cells["Id"].EditedFormattedValue.ToString().IntParse();
             Frm_LoanLedger F = new Frm_LoanLedger();
             F.Show();
             F.CboNo.SelectedValue = Id;
             F.LoanId = Id;
             F.GetChart();
         }
     }
     catch (Exception Erp)
     {
         clsGeneral.ShowErrMsg(Erp.Message);
     }
 }
예제 #3
0
 private void loanLedgerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Frm_LoanLedger F = new Frm_LoanLedger();
     F.Show();
 }