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