private void testarAtendimentoToolStripMenuItem_Click(object sender, EventArgs e) { TelaAtendimento telaAtendimento = new TelaAtendimento(); AddOwnedForm(telaAtendimento); telaAtendimento.Show(); }
public void AbrirNovoAtendimento() { TelaAtendimento tela = new TelaAtendimento(); try { if (!tela.IsDisposed) { tela.ShowDialog(); } } finally { tela.Dispose(); tela = null; } }