Esempio n. 1
0
 public static void FormattedRoundButtonEliminar(RoundButton.RoundButton button)
 {
     button.BorderColor        = Color.Brown;
     button.ButtonColor        = Color.Red;
     button.OnHoverBorderColor = Color.Red;
     button.OnHoverButtonColor = Color.DarkRed;
     FormatFontRoundButton(button);
 }
Esempio n. 2
0
 public static void FormattedRoundButtonExcel(RoundButton.RoundButton button)
 {
     button.BorderColor        = Color.DarkGreen;
     button.ButtonColor        = Color.Green;
     button.OnHoverBorderColor = Color.Green;
     button.OnHoverButtonColor = Color.DarkGreen;
     FormatFontRoundButton(button);
 }
Esempio n. 3
0
 public static void FormattedRoundButtonCancelar(RoundButton.RoundButton button)
 {
     button.BorderColor        = Color.Indigo;
     button.ButtonColor        = Color.DarkBlue;
     button.OnHoverBorderColor = Color.DarkBlue;
     button.OnHoverButtonColor = Color.Blue;
     FormatFontRoundButton(button);
 }
Esempio n. 4
0
 private static void FormatFontRoundButton(RoundButton.RoundButton button)
 {
     button.BackColor                         = Color.Transparent;
     button.Font                              = new Font("Microsoft Sans Serif", 14.25F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
     button.FlatStyle                         = FlatStyle.Flat;
     button.OnHoverTextColor                  = Color.GhostWhite;
     button.TextColor                         = Color.GhostWhite;
     button.FlatAppearance.BorderSize         = 0;
     button.FlatAppearance.BorderColor        = Color.NavajoWhite;
     button.FlatAppearance.MouseOverBackColor = Color.Transparent;
     button.FlatAppearance.MouseDownBackColor = Color.Transparent;
     button.Cursor                            = Cursors.Hand;
 }