예제 #1
0
 /// <inheritdoc/>
 public override void UpdateUIStyle()
 {
     base.UpdateUIStyle();
     FToolbar.Style      = UIStyleUtils.GetDotNetBarStyle(Designer.UIStyle);
     mnuContext.Style    = FToolbar.Style;
     FSplitter.BackColor = UIStyleUtils.GetControlColor(Designer.UIStyle);
 }
예제 #2
0
        public override void UpdateUIStyle()
        {
            base.UpdateUIStyle();
            btnColor.SetStyle(Designer.UIStyle);
            Color controlColor = UIStyleUtils.GetControlColor(Designer.UIStyle);

            cbxName.ComboBoxEx.DisabledBackColor = controlColor;
            cbxSize.ComboBoxEx.DisabledBackColor = controlColor;
        }
예제 #3
0
        public void UpdateUIStyle()
        {
            FControlContainer.ColorSchemeStyle     = UIStyleUtils.GetDotNetBarStyle(Designer.UIStyle);
            FControlContainer.Office2007ColorTable = UIStyleUtils.GetOffice2007ColorScheme(Designer.UIStyle);
            Color color = UIStyleUtils.GetControlColor(Designer.UIStyle);

            FStructure.BackColor = color;
            FHorzRuler.BackColor = color;
            FVertRuler.BackColor = color;
            FWorkspace.BackColor = UIStyleUtils.GetAppWorkspaceColor(Designer.UIStyle);
            BackColor            = color;
        }
예제 #4
0
        /// <inheritdoc/>
        public override void UpdateUIStyle()
        {
            base.UpdateUIStyle();
            FToolbar.Style   = UIStyleUtils.GetDotNetBarStyle(Designer.UIStyle);
            cbxObjects.Style = FToolbar.Style;
            Color color = UIStyleUtils.GetControlColor(Designer.UIStyle);

            Grid.BackColor          = color;
            Grid.LineColor          = color;
            Grid.HelpBackColor      = color;
            ParentControl.BackColor = color;
            cbxObjects.IsStandalone = Designer.UIStyle != UIStyle.VisualStudio2005 && Designer.UIStyle != UIStyle.Office2003;
        }
예제 #5
0
        public void SetStyle(UIStyle style)
        {
            eTabStripStyle st = UIStyleUtils.GetTabStripStyle1(style);

            if (st == eTabStripStyle.VS2005Dock)
            {
                st = eTabStripStyle.VS2005;
            }
            FTabs.Style = st;
            Color color = UIStyleUtils.GetControlColor(style);

            pnTransparency.BackColor = color;
            BackColor       = color;
            FTabs.BackColor = color;
        }
예제 #6
0
 private void UpdateEditColors()
 {
   FEdit.Gutter.BrushColor = UIStyleUtils.GetControlColor(Designer.UIStyle);
   FEdit.Gutter.PenColor = FEdit.Gutter.BrushColor;
 }