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