Ejemplo n.º 1
0
 //ATALHO AVISOS
 private void atalhoAvisos_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms.OfType <frmAvisos>().Count() == 0)
     {
         avisos = new frmAvisos
         {
             MdiParent = this
         };
         avisos.Show();
     }
     avisos.Focus();
 }
Ejemplo n.º 2
0
 //AVISOS
 private void avisosToolStripMenuItem_Click_1(object sender, EventArgs e)
 {
     if (Application.OpenForms.OfType <frmAvisos>().Count() == 0)
     {
         avisos = new frmAvisos
         {
             MdiParent = this
         };
         avisos.Show();
     }
     avisos.Focus();
 }