Пример #1
0
 //Método getInstance()
 public static frmCalendario getInstance()
 {
     if (instance == null)
     {
         instance = new frmCalendario();
     }
     return instance;
 }
Пример #2
0
 //Método Form Closing
 private void frmCalendario_FormClosing(object sender, FormClosingEventArgs e)
 {
     instance = null;
 }