| | |
| | | return button; |
| | | } |
| | | |
| | | public static Button CreateDefault() { |
| | | Button button = createBase(); |
| | | return button; |
| | | public static Button CreateDefault(Button btn) { |
| | | |
| | | btn.BackColor = System.Drawing.SystemColors.Control; |
| | | btn.ForeColor = System.Drawing.SystemColors.WindowText; |
| | | |
| | | return btn; |
| | | } |
| | | |
| | | public static Button CreateDefault(String text) |
| | | |
| | | public static Button CreatePrimary(Button btn) |
| | | { |
| | | Button button = CreateDefault(); |
| | | button.Text = text; |
| | | return button; |
| | | btn.FlatAppearance.BorderSize = 0; |
| | | btn.FlatStyle = FlatStyle.Flat; |
| | | btn.BackColor = Color.FromArgb(12, 130, 240); |
| | | btn.ForeColor = Color.White; |
| | | return btn; |
| | | } |
| | | } |
| | | } |