Пример #1
0
 public FirstStartForm()
 {
     InitializeComponent();
     theme.SetMainPage(Color.FromArgb(21, 101, 192), Color.FromArgb(21, 101, 192), Color.FromArgb(33, 150, 243),
                       Color.FromArgb(33, 180, 255), Color.White, Color.FromArgb(233, 237, 240), false);
     guna2GradientPanel1.FillColor  = theme.MenuColor1.Value;
     guna2GradientPanel1.FillColor2 = theme.MenuColor2.Value;
     guna2Button4.ForeColor         = theme.ButtonTheme.Value;
     label3.ForeColor            = theme.ButtonTheme.Value;
     guna2ShadowPanel1.FillColor = theme.TitleColor1.Value;
     panel1.BackColor            = theme.ContainerTheme.Value;
     label1.ForeColor            = Color.Black;
 }
Пример #2
0
 private void guna2CustomRadioButton2_CheckedChanged(object sender, EventArgs e)
 {
     if (guna2CustomRadioButton2.Checked)
     {
         theme.title = "ClassicBlue";
         theme.SetMainPage(Color.FromArgb(21, 101, 192), Color.FromArgb(21, 101, 192), Color.FromArgb(33, 150, 243),
                           Color.FromArgb(33, 180, 255), Color.White, Color.FromArgb(233, 237, 240), false);
         theme.SetComboBox(Color.White, Color.PaleTurquoise, Color.FromArgb(217, 221, 226), Color.PowderBlue,
                           Color.Black);
         theme.SetTextBoxTheme(Color.White, Color.PaleTurquoise, Color.FromArgb(217, 221, 226), Color.PowderBlue,
                               Color.Black);
         theme.SetButton(Color.FromArgb(94, 148, 255), Color.Black, Color.FromArgb(94, 148, 255), Color.White);
         theme.SetInterfaceLabelTheme(Color.Black);
         theme.SetProgressBar(Color.SteelBlue, Color.FromArgb(192, 192, 255), Color.FromArgb(172, 122, 230));
         theme.SetListView(Color.LightCyan, Color.LightSkyBlue, Color.Black);
         theme.SaveTheme();
         ApplyTheme();
     }
 }