private void RandomPasswordGenerator_Load(object sender, EventArgs e) { GlobalBooleanSettingsManager gbs = new GlobalBooleanSettingsManager(); if (gbs.GetIsInDeveloperMode()) { //DevelopmentInformation.SetBuildInformation(this, (DevelopmentState)DevelopmentState.ALPHA); } }
private void InitialiseVariables() { _colourUpdateTimer = new Timer(); _colourUpdateTimer.Interval = 250; _colourUpdateTimer.Tick += new EventHandler(Tick); DebugMode = _globalBooleanSettingsManager.GetIsInDeveloperMode(); UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes(); }
/// <summary> /// Are the global boolean settings default. /// </summary> /// <returns></returns> public static bool AreGlobalBooleanSettingsDefault() { GlobalBooleanSettingsManager manager = new GlobalBooleanSettingsManager(); if (manager.GetIsInDeveloperMode() == false) { return(true); } else { return(false); } }
public RibbonWindowOld() { InitializeComponent(); _colourUpdateTimer = new Timer(); _colourUpdateTimer.Interval = 250; _colourUpdateTimer.Tick += new EventHandler(ColourUpdateTimer_Tick); DebugMode = _globalBooleanSettingsManager.GetIsInDeveloperMode(); UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes(); }
public MainWindow() { InitializeComponent(); _colourUpdateTimer = new Timer(); _colourUpdateTimer.Interval = 250; _colourUpdateTimer.Tick += new EventHandler(ColourUpdateTimer_Tick); DebugMode = _globalBooleanSettingsManager.GetIsInDeveloperMode(); UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes(); //IAbout.ApplicationIcon = Icon; //IAbout.ApplicationIconImage = new Bitmap("Resources\\PE Icon 512 x 512.png"); //IAbout.ApplicationName = "Palette Editor"; }