示例#1
0
        private void InitialiseVariables()
        {
            _colourUpdateTimer = new Timer();

            _colourUpdateTimer.Interval = 250;

            _colourUpdateTimer.Tick += new EventHandler(Tick);

            DebugMode = _globalBooleanSettingsManager.GetDevelopmentMode();

            UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes();
        }
        public RibbonWindowOld()
        {
            InitializeComponent();

            _colourUpdateTimer = new Timer();

            _colourUpdateTimer.Interval = 250;

            _colourUpdateTimer.Tick += new EventHandler(ColourUpdateTimer_Tick);

            DebugMode = _globalBooleanSettingsManager.GetDevelopmentMode();

            UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes();
        }
示例#3
0
        public MainWindow()
        {
            InitializeComponent();

            _colourUpdateTimer = new Timer();

            _colourUpdateTimer.Interval = 250;

            _colourUpdateTimer.Tick += new EventHandler(ColourUpdateTimer_Tick);

            DebugMode = _globalBooleanSettingsManager.GetDevelopmentMode();

            UseCircularPictureBoxes = _globalBooleanSettingsManager.GetUseCircularPictureBoxes();

            //IAbout.ApplicationIcon = Icon;

            //IAbout.ApplicationIconImage = new Bitmap("Resources\\PE Icon 512 x 512.png");

            //IAbout.ApplicationName = "Palette Editor";
        }