示例#1
0
 // ------------------------------------------------ BORDER OF FUNCTION ---------------------------------------------------------- //
 private void imageBackgroundImage()
 {
     BackgroundImage = Properties.Resources.FormBackground;
     FuncMisc.textColor(this, System.Drawing.SystemColors.ControlLight, System.Drawing.Color.Black, false);
 }
示例#2
0
 //////////////////////////////////////////////////////ГРАНИЦА ФУНКЦИИ//////////////////////////////////////////////////////////////
 public void refreshStyle()
 {
     if (numberStyle == 1)
     {
         BMBackgroundImage   = Properties.Resources._1_MainForm;
         BMbuttonClear       = Properties.Resources._1_buttonClear;
         BMbuttonClearGlow   = Properties.Resources._1_buttonClearGlow;
         BMbuttonFull        = Properties.Resources._1_buttonFull;
         BMbuttonFullGlow    = Properties.Resources._1_buttonFullGlow;
         BMbuttonFullPressed = Properties.Resources._1_buttonFullPressed;
         BMbuttonHalf        = Properties.Resources._1_buttonHalf;
         BMbuttonHalfGlow    = Properties.Resources._1_buttonHalfGlow;
         BMbuttonHalfPressed = Properties.Resources._1_buttonHalfPressed;
         BMbuttonOne         = Properties.Resources._1_buttonOne;
         BMbuttonOneGlow     = Properties.Resources._1_buttonOneGlow;
         BMbuttonlogo        = Properties.Resources._1_buttonlogo;
         BMbuttonlogoGlow    = Properties.Resources._1_buttonlogoGlow;
         BMbuttonlogoPressed = Properties.Resources._1_buttonlogoPressed;
         FuncMisc.textColor(this, SystemColors.ControlText, Color.FromArgb(232, 232, 232), true);
     }
     else
     {
         BMBackgroundImage   = Properties.Resources._2_MainForm;
         BMbuttonClear       = Properties.Resources._2_buttonClear;
         BMbuttonClearGlow   = Properties.Resources._2_buttonClearGlow;
         BMbuttonFull        = Properties.Resources._2_buttonFull;
         BMbuttonFullGlow    = Properties.Resources._2_buttonFullGlow;
         BMbuttonFullPressed = Properties.Resources._2_buttonFullPressed;
         BMbuttonHalf        = Properties.Resources._2_buttonHalf;
         BMbuttonHalfGlow    = Properties.Resources._2_buttonHalfGlow;
         BMbuttonHalfPressed = Properties.Resources._2_buttonHalfPressed;
         BMbuttonOne         = Properties.Resources._2_buttonOne;
         BMbuttonOneGlow     = Properties.Resources._2_buttonOneGlow;
         BMbuttonlogo        = Properties.Resources._2_buttonlogo;
         BMbuttonlogoGlow    = Properties.Resources._2_buttonlogoGlow;
         BMbuttonlogoPressed = Properties.Resources._2_buttonlogoPressed;
         FuncMisc.textColor(this, SystemColors.ControlLight, Color.FromArgb(30, 30, 30), true);
     }
     if (button_Skyrim.Enabled == true)
     {
         button_Skyrim.BackgroundImage = BMbuttonlogo;
     }
     else
     {
         button_Skyrim.BackgroundImage = BMbuttonlogoPressed;
     }
     if (button_WryeBash.Enabled == true)
     {
         button_WryeBash.BackgroundImage = BMbuttonFull;
     }
     else
     {
         button_WryeBash.BackgroundImage = BMbuttonFullPressed;
     }
     if (button_DSRStart.Enabled == true)
     {
         button_DSRStart.BackgroundImage = BMbuttonHalf;
     }
     else
     {
         button_DSRStart.BackgroundImage = BMbuttonHalfPressed;
     }
     if (button_FNISStart.Enabled == true)
     {
         button_FNISStart.BackgroundImage = BMbuttonHalf;
     }
     else
     {
         button_FNISStart.BackgroundImage = BMbuttonHalfPressed;
     }
     button_ProgrammsFolder.BackgroundImage   = BMbuttonFull;
     button_GameDirectory.BackgroundImage     = BMbuttonFull;
     button_ResetSettings.BackgroundImage     = BMbuttonFull;
     button_ClearDirectory.BackgroundImage    = BMbuttonClear;
     button_AddFolderToIgnore.BackgroundImage = BMbuttonOne;
     button_AddFileToIgnore.BackgroundImage   = BMbuttonOne;
     button_Mods.BackgroundImage        = BMbuttonHalf;
     button_MyDocs.BackgroundImage      = BMbuttonFull;
     button_RemPrograms.BackgroundImage = BMbuttonFull;
     button_ENBmenu.BackgroundImage     = BMbuttonHalf;
     button_Options.BackgroundImage     = BMbuttonFull;
     BackgroundImage = BMBackgroundImage;
 }