private void examesToolStripMenuItem_Click(object sender, EventArgs e) { ExamesCadastro examesCadastro = new ExamesCadastro(); Hide(); examesCadastro.ShowDialog(); }
private void EditarButton_Click(object sender, EventArgs e) { Exame exame = ExameSelecionado(); if (exame != null) { ExamesCadastro exameCadastro = new ExamesCadastro(exame); Hide(); exameCadastro.ShowDialog(); Show(); PreecherTodos(); } }