예제 #1
0
 public static frmDonHang CreateInstance()
 {
     if (_singleton == null)
     {
         _singleton = new frmDonHang();
     }
     return(_singleton);
 }
예제 #2
0
 private void frmDonHang_FormClosed(object sender, FormClosedEventArgs e)
 {
     _singleton = null;
 }