private void RandomPasswordGenerator_Load(object sender, EventArgs e)
        {
            GlobalBooleanSettingsManager gbs = new GlobalBooleanSettingsManager();

            if (gbs.GetIsInDeveloperMode())
            {
                //DevelopmentInformation.SetBuildInformation(this, (DevelopmentState)DevelopmentState.ALPHA);
            }
        }
Beispiel #2
0
        private void InitialiseVariables()
        {
            _colourUpdateTimer = new Timer();

            _colourUpdateTimer.Interval = 250;

            _colourUpdateTimer.Tick += new EventHandler(Tick);

            DebugMode = _globalBooleanSettingsManager.GetIsInDeveloperMode();

            UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes();
        }
Beispiel #3
0
        /// <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);
            }
        }
Beispiel #4
0
        public RibbonWindowOld()
        {
            InitializeComponent();

            _colourUpdateTimer = new Timer();

            _colourUpdateTimer.Interval = 250;

            _colourUpdateTimer.Tick += new EventHandler(ColourUpdateTimer_Tick);

            DebugMode = _globalBooleanSettingsManager.GetIsInDeveloperMode();

            UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes();
        }
Beispiel #5
0
        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";
        }