private void btnConsultaRelatorio_Click(object sender, EventArgs e) { // chama a classe RelatorioDesingn re = new RelatorioDesingn(); re.Show(); this.Close(); }
private void btnRelatorio_Click(object sender, EventArgs e) { //chama o form e fecha o atual RelatorioDesingn re = new RelatorioDesingn(); re.Show(); this.Visible = false; }
private void btnRelatorio_Click(object sender, EventArgs e) { // chama o form this.Hide(); RelatorioDesingn re = new RelatorioDesingn(); re.Show(); }