Esempio n. 1
0
        private void SetTheme()
        {
            Theme t = bs.GetTheme();

            todayBTN.ForeColor = t.SecondaryThemeColor;
            todayBTN.BackColor = t.MainThemeColor;

            dateLabel.ForeColor = t.MainThemeColor;

            newBookingBTN.ForeColor = t.SecondaryThemeColor;
            newBookingBTN.BackColor = t.MainThemeColor;
        }
Esempio n. 2
0
        private void SetTheme()
        {
            Theme t = bs.GetTheme();

            simNameLabel.ForeColor = t.MainThemeColor;

            // Sim available pnl
            nextBookingLBL.ForeColor     = t.MainThemeColor;
            nextBookingDayLBL.ForeColor  = t.MainThemeColor;
            nextBookingTimeLBL.ForeColor = t.MainThemeColor;
            //5, 176
            // Sim In Use Panel
            timeRemainingTitleLBL.ForeColor = t.MainThemeColor;
            timeRemainingLBL.ForeColor      = t.MainThemeColor;
        }
Esempio n. 3
0
        private void SetTheme()
        {
            bs  = db.PullBusinessSettings();
            mtc = bs.GetTheme().MainThemeColor;

            buttonTabBorderPNL.BackColor = mtc;
        }
Esempio n. 4
0
        //////////  Setup
        private void SetTheme()
        {
            Theme t = bs.GetTheme();

            headerPanel.BackColor = t.MainThemeColor;

            windowTitleLBL.ForeColor = t.SecondaryThemeColor;
            simLBL.ForeColor         = t.MainThemeColor;
            nameLBL.ForeColor        = t.MainThemeColor;
            timeLBL.ForeColor        = t.MainThemeColor;
            pricingLBL.ForeColor     = t.MainThemeColor;
        }
        private void SetTheme()
        {
            Theme t = bs.GetTheme();

            this.BackColor        = t.MainThemeColor;
            systemTitle.ForeColor = t.AccentColor;
            loginBTN.ForeColor    = t.SecondaryThemeColor;
            loginBTN.BackColor    = t.MainThemeColor;

            inactiveAccountLBL.ForeColor = t.MainThemeColor;
            invalidLoginLBL.ForeColor    = t.MainThemeColor;
        }
Esempio n. 6
0
 public SimulatorPanel(string simName, int index, ConsoleWindow cw, BusinessSettings bs)
 {
     InitializeComponent();
     SimPanelIndex = index;
     origin        = cw;
     this.bs       = bs;
     SetTheme();
     BorderColor = bs.GetTheme().BorderColor;
     UpdateNameLabel(simName);
     ApplyClickHandles();
     SetNextBooking(null, false);
     this.SetStyle(ControlStyles.UserPaint, true);
 }
        private void SetTheme()
        {
            Theme t = bs.GetTheme();

            this.BackColor        = t.MainThemeColor;
            systemTitle.ForeColor = t.AccentColor;

            unlockBTN.ForeColor = t.SecondaryThemeColor;
            unlockBTN.BackColor = t.MainThemeColor;

            switchUserBTN.ForeColor = t.SecondaryThemeColor;
            switchUserBTN.BackColor = t.MainThemeColor;

            inactiveAccountLBL.ForeColor = t.MainThemeColor;
        }
Esempio n. 8
0
        private void SetTheme()
        {
            businessLogoIMG.ImageLocation = bs.LogoFilePath;
            businessNameLBL.Text          = bs.Name;
            Theme t = bs.GetTheme();

            businessNameLBL.ForeColor   = t.SecondaryThemeColor;
            sidePanel.BackColor         = t.MainThemeColor;
            simulatorsMenuBTN.ForeColor = t.SecondaryThemeColor;
            bookingsMenuBTN.ForeColor   = t.SecondaryThemeColor;
            mainDateLBL.ForeColor       = t.MainThemeColor;
            mainTimeLBL.ForeColor       = t.MainThemeColor;
            mainAmPmLBL.ForeColor       = t.MainThemeColor;

            breadcrumb1.ForeColor = t.AccentColor;
            breadcrumb2.ForeColor = t.MainThemeColor;

            contextMenuStrip1.BackColor = t.MainThemeColor;
            contextMenuStrip1.ForeColor = t.SecondaryThemeColor;
        }
Esempio n. 9
0
        private void SetTheme()
        {
            Theme t = bs.GetTheme();

            tabControl1.Appearance = TabAppearance.FlatButtons;
            tabControl1.ItemSize   = new Size(0, 1);
            tabControl1.SizeMode   = TabSizeMode.Fixed;

            // Tab Control Buttons
            mtc = t.MainThemeColor;

            // Sim Settings Tab
            selectSimLBL.ForeColor     = mtc;
            simPropertiesLBL.ForeColor = mtc;
            simNameLBL.ForeColor       = mtc;
            simModelLBL.ForeColor      = mtc;

            // Business Settings Tab
            businessSettingsLBL.ForeColor    = mtc;
            businessNameLBL.ForeColor        = mtc;
            logoLBL.ForeColor                = mtc;
            themeLBL.ForeColor               = mtc;
            logoFilePickBTN.ForeColor        = t.SecondaryThemeColor;
            logoFilePickBTN.BackColor        = mtc;
            slotLengthLBL.ForeColor          = mtc;
            autoStartWithBookingCB.ForeColor = mtc;

            mondayLBL.ForeColor    = mtc;
            monOpenLBL.ForeColor   = mtc;
            monCloseLBL.ForeColor  = mtc;
            tuesdayLBL.ForeColor   = mtc;
            tuesOpenLBL.ForeColor  = mtc;
            tuesCloseLBL.ForeColor = mtc;
            wednesdayLBL.ForeColor = mtc;
            wedOpenLBL.ForeColor   = mtc;
            wedCloseLBL.ForeColor  = mtc;
            thursdayLBL.ForeColor  = mtc;
            thurOpenLBL.ForeColor  = mtc;
            thurCloseLBL.ForeColor = mtc;
            fridayLBL.ForeColor    = mtc;
            friOpenLBL.ForeColor   = mtc;
            friCloseLBL.ForeColor  = mtc;
            saturdayLBL.ForeColor  = mtc;
            satOpenLBL.ForeColor   = mtc;
            satCloseLBL.ForeColor  = mtc;
            sundayLBL.ForeColor    = mtc;
            sunOpenLBL.ForeColor   = mtc;
            sunCloseLBL.ForeColor  = mtc;

            dividerPnl1.BackColor = mtc;
            dividerPnl2.BackColor = mtc;
            dividerPnl3.BackColor = mtc;
            dividerPnl4.BackColor = mtc;
            dividerPnl5.BackColor = mtc;
            dividerPnl6.BackColor = mtc;
            dividerPnl7.BackColor = mtc;

            // Price Settings Tab
            priceOptionsLBL.ForeColor = mtc;
            addNewPriceBTN.BackColor  = mtc;
            addNewPriceBTN.ForeColor  = t.SecondaryThemeColor;

            priceNameLBL.ForeColor    = mtc;
            pricePerHourLBL.ForeColor = mtc;
            priceTypeLBL.ForeColor    = mtc;


            // User Control Tab
            userManagementPNL.BorderColor = t.BorderColor;
        }