public void AbrirTelaCategoria() { frmCadastroCategoria cc = new frmCadastroCategoria(); cc.ShowDialog(); cc.Dispose(); }
private void btnCadastroCategoria_Click(object sender, EventArgs e) { frmCadastroCategoria frmCategoria = new frmCadastroCategoria(); frmCategoria.ShowDialog(); }