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

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

            _colourUpdateTimer.Interval = 250;

            _colourUpdateTimer.Tick += new EventHandler(Tick);

            DebugMode = _globalBooleanSettingsManager.GetIsInDeveloperMode();

            UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes();
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 4
0
        public RibbonWindowOld()
        {
            InitializeComponent();

            _colourUpdateTimer = new Timer();

            _colourUpdateTimer.Interval = 250;

            _colourUpdateTimer.Tick += new EventHandler(ColourUpdateTimer_Tick);

            DebugMode = _globalBooleanSettingsManager.GetIsInDeveloperMode();

            UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes();
        }
Exemplo n.º 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";
        }