Пример #1
0
 public DockPaneStripSkin()
 {
     this.m_DocumentGradient = new DockPaneStripGradient();
     this.m_DocumentGradient.DockStripGradient.StartColor           = Color.FromArgb(41, 57, 85);
     this.m_DocumentGradient.DockStripGradient.EndColor             = Color.FromArgb(41, 57, 85);
     this.m_DocumentGradient.ActiveTabGradient.StartColor           = Color.White;
     this.m_DocumentGradient.ActiveTabGradient.EndColor             = Color.FromArgb(255, 231, 165);
     this.m_DocumentGradient.ActiveTabGradient.LinearGradientMode   = LinearGradientMode.Vertical;
     this.m_DocumentGradient.ActiveTabGradient.TextColor            = Color.Black;
     this.m_DocumentGradient.InactiveTabGradient.StartColor         = Color.FromArgb(41, 57, 85);
     this.m_DocumentGradient.InactiveTabGradient.EndColor           = Color.FromArgb(41, 57, 85);
     this.m_DocumentGradient.InactiveTabGradient.TextColor          = Color.White;
     this.m_DocumentGradient.InactiveTabGradient.LinearGradientMode = LinearGradientMode.Vertical;
     this.m_ToolWindowGradient = new DockPaneStripToolWindowGradient();
     this.m_ToolWindowGradient.DockStripGradient.StartColor               = Color.FromArgb(41, 57, 85);
     this.m_ToolWindowGradient.DockStripGradient.EndColor                 = Color.FromArgb(41, 57, 85);
     this.m_ToolWindowGradient.ActiveCaptionGradient.StartColor           = Color.White;
     this.m_ToolWindowGradient.ActiveCaptionGradient.EndColor             = Color.FromArgb(255, 231, 165);
     this.m_ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode   = LinearGradientMode.Vertical;
     this.m_ToolWindowGradient.InactiveCaptionGradient.StartColor         = Color.FromArgb(75, 94, 129);
     this.m_ToolWindowGradient.InactiveCaptionGradient.EndColor           = Color.FromArgb(62, 83, 120);
     this.m_ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical;
     this.m_ToolWindowGradient.InactiveCaptionGradient.TextColor          = Color.White;
     this.m_ToolWindowGradient.ActiveTabGradient.StartColor               = Color.White;
     this.m_ToolWindowGradient.ActiveTabGradient.EndColor                 = Color.FromArgb(255, 231, 165);
     this.m_ToolWindowGradient.ActiveTabGradient.LinearGradientMode       = LinearGradientMode.Vertical;
     this.m_ToolWindowGradient.InactiveTabGradient.StartColor             = Color.FromArgb(41, 57, 85);
     this.m_ToolWindowGradient.InactiveTabGradient.EndColor               = Color.FromArgb(41, 57, 85);
     this.m_ToolWindowGradient.InactiveTabGradient.TextColor              = Color.White;
     this.m_textFont = SystemFonts.MenuFont;
 }
Пример #2
0
        public DockPaneStripSkin()
        {
            m_DocumentGradient = new DockPaneStripGradient();
            m_DocumentGradient.DockStripGradient.StartColor   = SystemColors.Control;
            m_DocumentGradient.DockStripGradient.EndColor     = SystemColors.Control;
            m_DocumentGradient.ActiveTabGradient.StartColor   = SystemColors.ControlLightLight;
            m_DocumentGradient.ActiveTabGradient.EndColor     = SystemColors.ControlLightLight;
            m_DocumentGradient.InactiveTabGradient.StartColor = SystemColors.ControlLight;
            m_DocumentGradient.InactiveTabGradient.EndColor   = SystemColors.ControlLight;

            m_ToolWindowGradient = new DockPaneStripToolWindowGradient();
            m_ToolWindowGradient.DockStripGradient.StartColor = SystemColors.ControlLight;
            m_ToolWindowGradient.DockStripGradient.EndColor   = SystemColors.ControlLight;

            m_ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.Control;
            m_ToolWindowGradient.ActiveTabGradient.EndColor   = SystemColors.Control;

            m_ToolWindowGradient.InactiveTabGradient.StartColor = Color.Transparent;
            m_ToolWindowGradient.InactiveTabGradient.EndColor   = Color.Transparent;
            m_ToolWindowGradient.InactiveTabGradient.TextColor  = SystemColors.ControlDarkDark;

            m_ToolWindowGradient.ActiveCaptionGradient.StartColor         = SystemColors.GradientActiveCaption;
            m_ToolWindowGradient.ActiveCaptionGradient.EndColor           = SystemColors.ActiveCaption;
            m_ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical;
            m_ToolWindowGradient.ActiveCaptionGradient.TextColor          = SystemColors.ActiveCaptionText;

            m_ToolWindowGradient.InactiveCaptionGradient.StartColor         = SystemColors.GradientInactiveCaption;
            m_ToolWindowGradient.InactiveCaptionGradient.EndColor           = SystemColors.GradientInactiveCaption;
            m_ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical;
            m_ToolWindowGradient.InactiveCaptionGradient.TextColor          = SystemColors.ControlText;
        }
Пример #3
0
        public DockPaneStripSkin()
        {
            m_DocumentGradient = new DockPaneStripGradient();
            m_DocumentGradient.DockStripGradient.StartColor = SystemColors.Control;
            m_DocumentGradient.DockStripGradient.EndColor = SystemColors.Control;
            m_DocumentGradient.ActiveTabGradient.StartColor = SystemColors.ControlLightLight;
            m_DocumentGradient.ActiveTabGradient.EndColor = SystemColors.ControlLightLight;
            m_DocumentGradient.InactiveTabGradient.StartColor = SystemColors.ControlLight;
            m_DocumentGradient.InactiveTabGradient.EndColor = SystemColors.ControlLight;

            m_ToolWindowGradient = new DockPaneStripToolWindowGradient();
            m_ToolWindowGradient.DockStripGradient.StartColor = SystemColors.ControlLight;
            m_ToolWindowGradient.DockStripGradient.EndColor = SystemColors.ControlLight;

            m_ToolWindowGradient.ActiveTabGradient.StartColor = SystemColors.Control;
            m_ToolWindowGradient.ActiveTabGradient.EndColor = SystemColors.Control;

            m_ToolWindowGradient.InactiveTabGradient.StartColor = Color.Transparent;
            m_ToolWindowGradient.InactiveTabGradient.EndColor = Color.Transparent;
            m_ToolWindowGradient.InactiveTabGradient.TextColor = SystemColors.ControlDarkDark;

            m_ToolWindowGradient.ActiveCaptionGradient.StartColor = SystemColors.GradientActiveCaption;
            m_ToolWindowGradient.ActiveCaptionGradient.EndColor = SystemColors.ActiveCaption;
            m_ToolWindowGradient.ActiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical;
            m_ToolWindowGradient.ActiveCaptionGradient.TextColor = SystemColors.ActiveCaptionText;

            m_ToolWindowGradient.InactiveCaptionGradient.StartColor = SystemColors.GradientInactiveCaption;
            m_ToolWindowGradient.InactiveCaptionGradient.EndColor = SystemColors.InactiveCaption;
            m_ToolWindowGradient.InactiveCaptionGradient.LinearGradientMode = LinearGradientMode.Vertical;
            m_ToolWindowGradient.InactiveCaptionGradient.TextColor = SystemColors.InactiveCaptionText;

            m_textFont = SystemFonts.MenuFont;
        }