コード例 #1
0
        private void ColorizeInPink()
        {
            PinkTheme theme = new PinkTheme();

            MainGrid.Background = new SolidColorBrush(theme.LayoutLeftColumn);
            MainText.Foreground = new SolidColorBrush(theme.PencilColor);
        }
コード例 #2
0
        private void ColorizeInPink()
        {
            PinkTheme theme = new PinkTheme();

            MainGrid.Background = new SolidColorBrush(theme.LayoutRightColumn);
            TopGrid.Background  = new SolidColorBrush(theme.LayoutTopGrid);
            TextWord.Foreground = new SolidColorBrush(theme.PencilColor);
        }
コード例 #3
0
        private void ColorizeInPink()
        {
            PinkTheme pink = new PinkTheme();

            MainGrid.Background    = new SolidColorBrush(pink.LayoutRightColumn);
            TopGrid.Background     = new SolidColorBrush(pink.LayoutRightColumn);
            btnArg1.BorderBrush    = new SolidColorBrush(pink.PencilColor);
            btnArg2.BorderBrush    = new SolidColorBrush(pink.PencilColor);
            TextArg1.Foreground    = new SolidColorBrush(pink.PencilColor);
            TextArg2.Foreground    = new SolidColorBrush(pink.PencilColor);
            MessageText.Foreground = new SolidColorBrush(pink.PencilColor);
        }
コード例 #4
0
        public void ColorizeInPink()
        {
            // change color of main grids and dockpanels
            PinkTheme pink = new PinkTheme();

            Window.Background          = new SolidColorBrush(pink.LayoutRTB);
            Tools_Grid.Background      = new SolidColorBrush(pink.LayoutTopGrid);
            TopGrid.Background         = new SolidColorBrush(pink.LayoutTopGrid);
            DockPanelRight.Background  = new SolidColorBrush(pink.LayoutRightColumn);
            GridMenu.Background        = new SolidColorBrush(pink.LayoutTopGrid);
            btnChooseColor.BorderBrush = new SolidColorBrush(pink.LayoutTopGrid);
            btnColourful.BorderBrush   = new SolidColorBrush(pink.LayoutTopGrid);

            btnStyle_right.BorderBrush  = new SolidColorBrush(pink.LayoutTopGrid);
            btnStyle_right.Foreground   = new SolidColorBrush(pink.PencilColor);
            btnLayout_right.BorderBrush = new SolidColorBrush(pink.LayoutTopGrid);
            btnLayout_right.Foreground  = new SolidColorBrush(pink.PencilColor);
            btnMore_right.BorderBrush   = new SolidColorBrush(pink.LayoutTopGrid);
            btnMore_right.Foreground    = new SolidColorBrush(pink.PencilColor);

            //change color of pencils
            TextAccount.Foreground         = new SolidColorBrush(pink.PencilColor);
            TextAddPage.Foreground         = new SolidColorBrush(pink.PencilColor);
            TextAfterParagraph.Foreground  = new SolidColorBrush(pink.PencilColor);
            TextAlignment.Foreground       = new SolidColorBrush(pink.PencilColor);
            TextBeforeParagraph.Foreground = new SolidColorBrush(pink.PencilColor);
            TextCharacterStyle.Foreground  = new SolidColorBrush(pink.PencilColor);
            TextChart.Foreground           = new SolidColorBrush(pink.PencilColor);
            TextCopy.Foreground            = new SolidColorBrush(pink.PencilColor);
            TextFind.Foreground            = new SolidColorBrush(pink.PencilColor);
            TextFont.Foreground            = new SolidColorBrush(pink.PencilColor);
            TextHome.Foreground            = new SolidColorBrush(pink.PencilColor);
            TextImage.Foreground           = new SolidColorBrush(pink.PencilColor);
            TextInsert.Foreground          = new SolidColorBrush(pink.PencilColor);
            TextNewFile.Foreground         = new SolidColorBrush(pink.PencilColor);
            TextOpen.Foreground            = new SolidColorBrush(pink.PencilColor);
            TextPasteAll.Foreground        = new SolidColorBrush(pink.PencilColor);
            TextPrint.Foreground           = new SolidColorBrush(pink.PencilColor);
            TextSave.Foreground            = new SolidColorBrush(pink.PencilColor);
            TextSettings.Foreground        = new SolidColorBrush(pink.PencilColor);
            TextSpacing.Foreground         = new SolidColorBrush(pink.PencilColor);
            TextStyle.Foreground           = new SolidColorBrush(pink.PencilColor);
            TextTable.Foreground           = new SolidColorBrush(pink.PencilColor);
            TextText.Foreground            = new SolidColorBrush(pink.PencilColor);
            TextZoom.Foreground            = new SolidColorBrush(pink.PencilColor);
        }