public static CadastroSimples GetInstancia(CadastrosType t) { type = t; if (instancia == null) { instancia = new CadastroSimples(); } return(instancia); }
private void toolStripButton4_Click(object sender, EventArgs e) { CadastroSimples.GetInstancia(Model.CadastrosType.Status).Show(); }
private void CadastroSimples_FormClosing(object sender, FormClosingEventArgs e) { instancia = null; }