Example #1
0
 //Método getInstance()
 public static frmEstoque getInstance()
 {
     if (instance == null)
     {
         instance = new frmEstoque();
     }
     return instance;
 }
Example #2
0
 //Método FormClosing
 private void frmEstoque_FormClosing(object sender, FormClosingEventArgs e)
 {
     instance = null;
 }