예제 #1
0
 private void testarConexãoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (TelaTestarConexao == null)
     {
         TelaTestarConexao             = new TelaTesteConexao();
         TelaTestarConexao.MdiParent   = this;
         TelaTestarConexao.FormClosed += TelaTestarConexao_FormClosed;
         TelaTestarConexao.Show();
     }
     else
     {
         TelaTestarConexao.Activate();
     }
 }
예제 #2
0
 private void TelaTestarConexao_FormClosed(object sender, FormClosedEventArgs e)
 {
     TelaTestarConexao = null;
 }