Ejemplo n.º 1
0
        void ButtonLeave(object sender, EventArgs e)
        {
            Button b = (Button)sender;

            if (!(ManagerMenu.verificarTamaño(b)))
            {
                b.Font = new Font("Ebrima", 16, FontStyle.Bold, GraphicsUnit.Pixel);
            }
        }
Ejemplo n.º 2
0
 void defecto()
 {
     foreach (Control c in panelMenu1.Controls)
     {
         if (c is Button)
         {
             Button b = (Button)c;
             if (ManagerMenu.verificarTamaño(b))
             {
                 b.Image     = ChangeColor((Bitmap)b.Image, false);
                 b.Font      = b.Font = new Font("Ebrima", 16, FontStyle.Bold, GraphicsUnit.Pixel);
                 b.ForeColor = Color.White;
             }
         }
     }
 }