示例#1
0
 //////////////////////////////////////////////////////ГРАНИЦА ФУНКЦИИ//////////////////////////////////////////////////////////////
 private void imageBackgroundImage()
 {
     BackgroundImage = Properties.Resources.FormBackground;
     FuncMisc.LabelsTextColor(this, System.Drawing.SystemColors.ControlLight, System.Drawing.Color.FromArgb(30, 30, 30), false);
 }
示例#2
0
 //////////////////////////////////////////////////////ГРАНИЦА ФУНКЦИИ//////////////////////////////////////////////////////////////
 public void RefreshStyle()
 {
     if (FormMain.numberStyle == 1)
     {
         BMbuttonlogoGlow = Properties.Resources._1_buttonlogoGlow;
         BMbuttonlogo = Properties.Resources._1_buttonlogo;
         BMbuttonlogoPressed = Properties.Resources._1_buttonlogoPressed;
         BMbuttonFullGlow = Properties.Resources._1_buttonFullGlow;
         BMbuttonFull = Properties.Resources._1_buttonFull;
         BMbuttonFullPressed = Properties.Resources._1_buttonFullPressed;
         BMbuttonClearGlow = Properties.Resources._1_buttonClearGlow;
         BMbuttonClear = Properties.Resources._1_buttonClear;
         BMbuttonHalfGlow = Properties.Resources._1_buttonHalfGlow;
         BMbuttonHalf = Properties.Resources._1_buttonHalf;
         BMbuttonHalfPressed = Properties.Resources._1_buttonHalfPressed;
         BMbuttonOneGlow = Properties.Resources._1_buttonOneGlow;
         BMbuttonOne = Properties.Resources._1_buttonOne;
         BMBackgroundImage = Properties.Resources._1_MainForm;
         FuncMisc.LabelsTextColor(this, System.Drawing.SystemColors.ControlText, System.Drawing.Color.FromArgb(232, 232, 232), true);
     }
     else
     {
         BMbuttonlogoGlow = Properties.Resources._2_buttonlogoGlow;
         BMbuttonlogo = Properties.Resources._2_buttonlogo;
         BMbuttonlogoPressed = Properties.Resources._2_buttonlogoPressed;
         BMbuttonFullGlow = Properties.Resources._2_buttonFullGlow;
         BMbuttonFull = Properties.Resources._2_buttonFull;
         BMbuttonFullPressed = Properties.Resources._2_buttonFullPressed;
         BMbuttonClearGlow = Properties.Resources._2_buttonClearGlow;
         BMbuttonClear = Properties.Resources._2_buttonClear;
         BMbuttonHalfGlow = Properties.Resources._2_buttonHalfGlow;
         BMbuttonHalf = Properties.Resources._2_buttonHalf;
         BMbuttonHalfPressed = Properties.Resources._2_buttonHalfPressed;
         BMbuttonOneGlow = Properties.Resources._2_buttonOneGlow;
         BMbuttonOne = Properties.Resources._2_buttonOne;
         BMBackgroundImage = Properties.Resources._2_MainForm;
         FuncMisc.LabelsTextColor(this, System.Drawing.SystemColors.ControlLight, System.Drawing.Color.FromArgb(30, 30, 30), true);
     }
     if (buttonSkyrim.Enabled == true)
     {
         buttonSkyrim.BackgroundImage = BMbuttonlogo;
     }
     else
     {
         buttonSkyrim.BackgroundImage = BMbuttonlogoPressed;
     }
     if (buttonWryeBash.Enabled == true)
     {
         buttonWryeBash.BackgroundImage = BMbuttonFull;
     }
     else
     {
         buttonWryeBash.BackgroundImage = BMbuttonFullPressed;
     }
     if (buttonDSRStart.Enabled == true)
     {
         buttonDSRStart.BackgroundImage = BMbuttonHalf;
     }
     else
     {
         buttonDSRStart.BackgroundImage = BMbuttonHalfPressed;
     }
     if (buttonFNISStart.Enabled == true)
     {
         buttonFNISStart.BackgroundImage = BMbuttonHalf;
     }
     else
     {
         buttonFNISStart.BackgroundImage = BMbuttonHalfPressed;
     }
     buttonProgrammsFolder.BackgroundImage = BMbuttonFull;
     buttonGameDirectory.BackgroundImage = BMbuttonFull;
     buttonResetSettings.BackgroundImage = BMbuttonFull;
     buttonClearDirectory.BackgroundImage = BMbuttonClear;
     buttonAddFolderToIgnore.BackgroundImage = BMbuttonOne;
     buttonAddFileToIgnore.BackgroundImage = BMbuttonOne;
     buttonMods.BackgroundImage = BMbuttonFull;
     buttonInstRemPrograms.BackgroundImage = BMbuttonFull;
     buttonENBmenu.BackgroundImage = BMbuttonFull;
     buttonOptions.BackgroundImage = BMbuttonFull;
     BackgroundImage = BMBackgroundImage;
 }