Exemple #1
0
        private void testarAtendimentoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TelaAtendimento telaAtendimento = new TelaAtendimento();

            AddOwnedForm(telaAtendimento);
            telaAtendimento.Show();
        }
Exemple #2
0
        public void AbrirNovoAtendimento()
        {
            TelaAtendimento tela = new TelaAtendimento();

            try
            {
                if (!tela.IsDisposed)
                {
                    tela.ShowDialog();
                }
            }
            finally
            {
                tela.Dispose();
                tela = null;
            }
        }