Exemplo n.º 1
0
 private void button23_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms.OfType <FrmSobre>().Count() > 0)
     {
         MessageBox.Show("Sobre já está Aberto!", "SIG", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
     else
     {
         FrmSobre Sobre = new FrmSobre
         {
             MdiParent = this
         };
         Sobre.Show();
     }
 }
Exemplo n.º 2
0
        private void BtnInfo_Click(object sender, EventArgs e)
        {
            FrmSobre sobre = new FrmSobre();

            sobre.ShowDialog();
        }
Exemplo n.º 3
0
        private void sobreToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmSobre frmSobre = new FrmSobre();

            frmSobre.ShowDialog();
        }