示例#1
0
 public static frmShowAllLoans GetChildInstance()
 {
     if (m_frmShowAllLoans == null) //if not created yet, Create an instance
     {
         m_frmShowAllLoans = new frmShowAllLoans();
     }
     return(m_frmShowAllLoans);  //just created or created earlier. Return it
 }
示例#2
0
 private void frmShowAllLoans_FormClosing(object sender, FormClosingEventArgs e)
 {
     m_frmShowAllLoans = null;
 }