private void btn_cadastrar_Click(object sender, EventArgs e) { frmCadastro cadastro = new frmCadastro(); cadastro.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) { frmCadastro frm = new frmCadastro(); frm.ShowDialog(); }