Exemple #1
0
 public frmBorrowerEntry(Forms.frmBorrowerList oFrmList)
 {
     InitializeComponent();
     oFrmBorrowerLst        = oFrmList;
     eVariable.m_ActionType = eVariable.ACTION_TYPE.ADD;
     eVariable.DisableKeyPress(txtBorrowerID);
     eVariable.DisableKeyPress(txtAge);
     eVariable.DisableTextEnterKey(pnlMain);
     eVariable.ValidNumber(txtContactNo);
 }
Exemple #2
0
 public frmBorrowerEntry(frmBorrowerList oFrmList, Model.Borrower oData)
 {
     InitializeComponent();
     eVariable.m_ActionType = eVariable.ACTION_TYPE.EDIT;
     oMBorrower             = oData;
     oFrmBorrowerLst        = oFrmList;
     eVariable.DisableKeyPress(txtBorrowerID);
     eVariable.DisableKeyPress(txtAge);
     eVariable.DisableTextEnterKey(pnlMain);
     eVariable.ValidNumber(txtContactNo);
 }