Exemple #1
0
 public static frmCreateLoan GetChildInstance()
 {
     if (m_frmCreateLoanForm == null) //if not created yet, Create an instance
     {
         m_frmCreateLoanForm = new frmCreateLoan();
     }
     return(m_frmCreateLoanForm);  //just created or created earlier. Return it
 }
Exemple #2
0
 private void frmCreateLoan_FormClosed(object sender, FormClosedEventArgs e)
 {
     m_frmCreateLoanForm = null;
 }