ProfessionalColorTableFactory. cs
Description du code
ProfessionalColorTableFactory.cs est un fichier du projet BrolDev.Ce fichier est situé dans /var/www/bin/sniplets/bibliobrol/broldev/src/.
Projet BrolDev : Librairie de composants réutilisables pour les applications BrolDev en CSharp.
Code source ou contenu du fichier
Code c# (ProfessionalColorTableFactory.cs) (922 lignes)
using System.Drawing; using System.Windows.Forms; using be.gaudry.model.enums; namespace be.gaudry.view.style { public class ProfessionalColorTableFactory : ProfessionalColorTable { #region Private Variables private bool use_system_colors = false; private Color button_checked_gradient_begin; private Color button_checked_gradient_end; private Color button_checked_gradient_middle; private Color button_checked_highlight; private Color button_checked_highlight_border; private Color button_pressed_border; private Color button_pressed_gradient_begin; private Color button_pressed_gradient_end; private Color button_pressed_gradient_middle; private Color button_pressed_highlight; private Color button_pressed_highlight_border; private Color button_selected_border; private Color button_selected_gradient_begin; private Color button_selected_gradient_end; private Color button_selected_gradient_middle; private Color button_selected_highlight; private Color button_selected_highlight_border; private Color check_background; private Color check_pressed_background; private Color check_selected_background; private Color grip_dark; private Color grip_light; private Color image_margin_gradient_begin; private Color image_margin_gradient_end; private Color image_margin_gradient_middle; private Color image_margin_revealed_gradient_begin; private Color image_margin_revealed_gradient_end; private Color image_margin_revealed_gradient_middle; private Color menu_border; private Color menu_item_border; private Color menu_item_pressed_gradient_begin; private Color menu_item_pressed_gradient_end; private Color menu_item_pressed_gradient_middle; private Color menu_item_selected; private Color menu_item_selected_gradient_begin; private Color menu_item_selected_gradient_end; private Color menu_strip_gradient_begin; private Color menu_strip_gradient_end; private Color overflow_button_gradient_begin; private Color overflow_button_gradient_end; private Color overflow_button_gradient_middle; private Color rafting_container_gradient_begin; private Color rafting_container_gradient_end; private Color separator_dark; private Color separator_light; private Color status_strip_gradient_begin; private Color status_strip_gradient_end; private Color tool_strip_border; private Color tool_strip_content_panel_gradient_begin; private Color tool_strip_content_panel_gradient_end; private Color tool_strip_drop_down_background; private Color tool_strip_gradient_begin; private Color tool_strip_gradient_end; private Color tool_strip_gradient_middle; private Color tool_strip_panel_gradient_begin; private Color tool_strip_panel_gradient_end; #endregion #region Public Constructor public ProfessionalColorTableFactory():this(STYLE.Classic) { } public ProfessionalColorTableFactory(STYLE style) { setColors(style); } #endregion #region Public Properties /* public virtual Color ButtonCheckedGradientBegin { get { return this.button_checked_gradient_begin; } } public virtual Color ButtonCheckedGradientEnd { get { return this.button_checked_gradient_end; } } public virtual Color ButtonCheckedGradientMiddle { get { return this.button_checked_gradient_middle; } } public virtual Color ButtonCheckedHighlight { get { return this.button_checked_highlight; } } public virtual Color ButtonCheckedHighlightBorder { get { return this.button_checked_highlight_border; } } public virtual Color ButtonPressedBorder { get { return this.button_pressed_border; } } public virtual Color ButtonPressedGradientBegin { get { return this.button_pressed_gradient_begin; } } public virtual Color ButtonPressedGradientEnd { get { return this.button_pressed_gradient_end; } } public virtual Color ButtonPressedGradientMiddle { get { return this.button_pressed_gradient_middle; } } public virtual Color ButtonPressedHighlight { get { return this.button_pressed_highlight; } } public virtual Color ButtonPressedHighlightBorder { get { return this.button_pressed_highlight_border; } } public virtual Color ButtonSelectedBorder { get { return this.button_selected_border; } } public virtual Color ButtonSelectedGradientBegin { get { return this.button_selected_gradient_begin; } } public virtual Color ButtonSelectedGradientEnd { get { return this.button_selected_gradient_end; } } public virtual Color ButtonSelectedGradientMiddle { get { return this.button_selected_gradient_middle; } } public virtual Color ButtonSelectedHighlight { get { return this.button_selected_highlight; } } public virtual Color ButtonSelectedHighlightBorder { get { return this.button_selected_highlight_border; } } public virtual Color CheckBackground { get { return this.check_background; } } public virtual Color CheckPressedBackground { get { return this.check_pressed_background; } } public virtual Color CheckSelectedBackground { get { return this.check_selected_background; } } public virtual Color GripDark { get { return this.grip_dark; } } public virtual Color GripLight { get { return this.grip_light; } } public virtual Color ImageMarginGradientBegin { get { return this.image_margin_gradient_begin; } } public virtual Color ImageMarginGradientEnd { get { return this.image_margin_gradient_end; } } public virtual Color ImageMarginGradientMiddle { get { return this.image_margin_gradient_middle; } } public virtual Color ImageMarginRevealedGradientBegin { get { return this.image_margin_revealed_gradient_begin; } } public virtual Color ImageMarginRevealedGradientEnd { get { return this.image_margin_revealed_gradient_end; } } public virtual Color ImageMarginRevealedGradientMiddle { get { return this.image_margin_revealed_gradient_middle; } } public virtual Color MenuBorder { get { return this.menu_border; } } public virtual Color MenuItemBorder { get { return this.menu_item_border; } } public virtual Color MenuItemPressedGradientBegin { get { return this.menu_item_pressed_gradient_begin; } } public virtual Color MenuItemPressedGradientEnd { get { return this.menu_item_pressed_gradient_end; } } public virtual Color MenuItemPressedGradientMiddle { get { return this.menu_item_pressed_gradient_middle; } } public virtual Color MenuItemSelected { get { return this.menu_item_selected; } } public virtual Color MenuItemSelectedGradientBegin { get { return this.menu_item_selected_gradient_begin; } } public virtual Color MenuItemSelectedGradientEnd { get { return this.menu_item_selected_gradient_end; } } public virtual Color MenuStripGradientBegin { get { return this.menu_strip_gradient_begin; } } public virtual Color MenuStripGradientEnd { get { return this.menu_strip_gradient_end; } } public virtual Color OverflowButtonGradientBegin { get { return this.overflow_button_gradient_begin; } } public virtual Color OverflowButtonGradientEnd { get { return this.overflow_button_gradient_end; } } public virtual Color OverflowButtonGradientMiddle { get { return this.overflow_button_gradient_middle; } } public virtual Color RaftingContainerGradientBegin { get { return this.rafting_container_gradient_begin; } } public virtual Color RaftingContainerGradientEnd { get { return this.rafting_container_gradient_end; } } public virtual Color SeparatorDark { get { return this.separator_dark; } } public virtual Color SeparatorLight { get { return this.separator_light; } } public virtual Color StatusStripGradientBegin { get { return this.status_strip_gradient_begin; } } public virtual Color StatusStripGradientEnd { get { return this.status_strip_gradient_end; } } public virtual Color ToolStripBorder { get { return this.tool_strip_border; } } public virtual Color ToolStripContentPanelGradientBegin { get { return this.tool_strip_content_panel_gradient_begin; } } public virtual Color ToolStripContentPanelGradientEnd { get { return this.tool_strip_content_panel_gradient_end; } } public virtual Color ToolStripDropDownBackground { get { return this.tool_strip_drop_down_background; } } public virtual Color ToolStripGradientBegin { get { return this.tool_strip_gradient_begin; } } public virtual Color ToolStripGradientEnd { get { return this.tool_strip_gradient_end; } } public virtual Color ToolStripGradientMiddle { get { return this.tool_strip_gradient_middle; } } public virtual Color ToolStripPanelGradientBegin { get { return this.tool_strip_panel_gradient_begin; } } public virtual Color ToolStripPanelGradientEnd { get { return this.tool_strip_panel_gradient_end; } } */ #region ButtonPressed /// <summary> /// Gets the starting color of the gradient used when the button is pressed down. /// </summary> public override Color ButtonPressedGradientBegin { get { return button_pressed_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used when the button is pressed down. /// </summary> public override Color ButtonPressedGradientEnd { get { return button_pressed_gradient_end; } } /// <summary> /// Gets the middle color of the gradient used when the button is pressed down. /// </summary> public override Color ButtonPressedGradientMiddle { get { return button_pressed_gradient_middle; } } #endregion #region ButtonSelected /// <summary> /// Gets the starting color of the gradient used when the button is selected. /// </summary> public override Color ButtonSelectedGradientBegin { get { return button_selected_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used when the button is selected. /// </summary> public override Color ButtonSelectedGradientEnd { get { return button_selected_gradient_end; } } /// <summary> /// Gets the middle color of the gradient used when the button is selected. /// </summary> public override Color ButtonSelectedGradientMiddle { get { return button_selected_gradient_middle; } } /// <summary> /// Gets the border color to use with ButtonSelectedHighlight. /// </summary> public override Color ButtonSelectedHighlightBorder { get { return button_selected_highlight_border; } } #endregion #region Check /// <summary> /// Gets the solid color to use when the check box is selected and gradients are being used. /// </summary> public override Color CheckBackground { get { return check_background; } } #endregion #region Grip /// <summary> /// Gets the color to use for shadow effects on the grip or move handle. /// </summary> public override Color GripDark { get { return grip_dark; } } /// <summary> /// Gets the color to use for highlight effects on the grip or move handle. /// </summary> public override Color GripLight { get { return grip_light; } } #endregion #region ImageMargin /// <summary> /// Gets the starting color of the gradient used in the image margin of a ToolStripDropDownMenu. /// </summary> public override Color ImageMarginGradientBegin { get { return image_margin_gradient_begin; } } #endregion #region MenuBorder /// <summary> /// Gets the border color or a MenuStrip. /// </summary> public override Color MenuBorder { get { return menu_border; } } #endregion #region MenuItem /// <summary> /// Gets the starting color of the gradient used when a top-level ToolStripMenuItem is pressed down. /// </summary> public override Color MenuItemPressedGradientBegin { get { return menu_item_pressed_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used when a top-level ToolStripMenuItem is pressed down. /// </summary> public override Color MenuItemPressedGradientEnd { get { return menu_item_pressed_gradient_end; } } /// <summary> /// Gets the middle color of the gradient used when a top-level ToolStripMenuItem is pressed down. /// </summary> public override Color MenuItemPressedGradientMiddle { get { return menu_item_pressed_gradient_middle; } } /// <summary> /// Gets the starting color of the gradient used when the ToolStripMenuItem is selected. /// </summary> public override Color MenuItemSelectedGradientBegin { get { return menu_item_selected_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used when the ToolStripMenuItem is selected. /// </summary> public override Color MenuItemSelectedGradientEnd { get { return menu_item_selected_gradient_end; } } #endregion #region MenuStrip /// <summary> /// Gets the starting color of the gradient used in the MenuStrip. /// </summary> public override Color MenuStripGradientBegin { get { return menu_strip_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used in the MenuStrip. /// </summary> public override Color MenuStripGradientEnd { get { return menu_strip_gradient_end; } } #endregion #region OverflowButton /// <summary> /// Gets the starting color of the gradient used in the ToolStripOverflowButton. /// </summary> public override Color OverflowButtonGradientBegin { get { return overflow_button_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used in the ToolStripOverflowButton. /// </summary> public override Color OverflowButtonGradientEnd { get { return overflow_button_gradient_end; } } /// <summary> /// Gets the middle color of the gradient used in the ToolStripOverflowButton. /// </summary> public override Color OverflowButtonGradientMiddle { get { return overflow_button_gradient_middle; } } #endregion #region RaftingContainer /// <summary> /// Gets the starting color of the gradient used in the ToolStripContainer. /// </summary> public override Color RaftingContainerGradientBegin { get { return rafting_container_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used in the ToolStripContainer. /// </summary> public override Color RaftingContainerGradientEnd { get { return rafting_container_gradient_end; } } #endregion #region Separator /// <summary> /// Gets the color to use to for shadow effects on the ToolStripSeparator. /// </summary> public override Color SeparatorDark { get { return separator_dark; } } /// <summary> /// Gets the color to use to for highlight effects on the ToolStripSeparator. /// </summary> public override Color SeparatorLight { get { return separator_light; } } #endregion #region StatusStrip /// <summary> /// Gets the starting color of the gradient used on the StatusStrip. /// </summary> public override Color StatusStripGradientBegin { get { return status_strip_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used on the StatusStrip. /// </summary> public override Color StatusStripGradientEnd { get { return status_strip_gradient_end; } } #endregion #region ToolStrip /// <summary> /// Gets the border color to use on the bottom edge of the ToolStrip. /// </summary> public override Color ToolStripBorder { get { return tool_strip_border; } } /// <summary> /// Gets the starting color of the gradient used in the ToolStripContentPanel. /// </summary> public override Color ToolStripContentPanelGradientBegin { get { return tool_strip_content_panel_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used in the ToolStripContentPanel. /// </summary> public override Color ToolStripContentPanelGradientEnd { get { return tool_strip_content_panel_gradient_end; } } /// <summary> /// Gets the solid background color of the ToolStripDropDown. /// </summary> public override Color ToolStripDropDownBackground { get { return tool_strip_drop_down_background; } } /// <summary> /// Gets the starting color of the gradient used in the ToolStrip background. /// </summary> public override Color ToolStripGradientBegin { get { return tool_strip_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used in the ToolStrip background. /// </summary> public override Color ToolStripGradientEnd { get { return tool_strip_gradient_end; } } /// <summary> /// Gets the middle color of the gradient used in the ToolStrip background. /// </summary> public override Color ToolStripGradientMiddle { get { return tool_strip_gradient_middle; } } /// <summary> /// Gets the starting color of the gradient used in the ToolStripPanel. /// </summary> public override Color ToolStripPanelGradientBegin { get { return tool_strip_panel_gradient_begin; } } /// <summary> /// Gets the end color of the gradient used in the ToolStripPanel. /// </summary> public override Color ToolStripPanelGradientEnd { get { return tool_strip_panel_gradient_end; } } #endregion /*public override bool UseSystemColors { get { return use_system_colors; } set { if (value != use_system_colors) { use_system_colors = value; setColors(StyleHelper.getCurrentStyle()); } } }*/ #endregion #region Private Methods private void setColors(STYLE style) { switch (style) { case STYLE.Classic: button_checked_gradient_begin = Color.Empty; button_checked_gradient_end = Color.Empty; button_checked_gradient_middle = Color.Empty; button_checked_highlight = Color.FromArgb(184, 191, 211); button_checked_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_pressed_border = Color.FromKnownColor(KnownColor.Highlight); button_pressed_gradient_begin = Color.FromArgb(133, 146, 181); button_pressed_gradient_end = Color.FromArgb(133, 146, 181); button_pressed_gradient_middle = Color.FromArgb(133, 146, 181); button_pressed_highlight = Color.FromArgb(131, 144, 179); button_pressed_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_selected_border = Color.FromKnownColor(KnownColor.Highlight); button_selected_gradient_begin = Color.FromArgb(182, 189, 210); button_selected_gradient_end = Color.FromArgb(182, 189, 210); button_selected_gradient_middle = Color.FromArgb(182, 189, 210); button_selected_highlight = Color.FromArgb(184, 191, 211); button_selected_highlight_border = Color.FromKnownColor(KnownColor.Highlight); check_background = Color.FromKnownColor(KnownColor.Highlight); check_pressed_background = Color.FromArgb(133, 146, 181); check_selected_background = Color.FromArgb(133, 146, 181); grip_dark = Color.FromArgb(160, 160, 160); grip_light = SystemColors.Window; image_margin_gradient_begin = Color.FromArgb(245, 244, 242); image_margin_gradient_end = SystemColors.Control; image_margin_gradient_middle = Color.FromArgb(234, 232, 228); image_margin_revealed_gradient_begin = Color.FromArgb(238, 236, 233); image_margin_revealed_gradient_end = Color.FromArgb(216, 213, 206); image_margin_revealed_gradient_middle = Color.FromArgb(225, 222, 217); menu_border = Color.FromArgb(102, 102, 102); menu_item_border = SystemColors.Highlight; menu_item_pressed_gradient_begin = Color.FromArgb(245, 244, 242); menu_item_pressed_gradient_end = Color.FromArgb(234, 232, 228); menu_item_pressed_gradient_middle = Color.FromArgb(225, 222, 217); menu_item_selected = SystemColors.Window; menu_item_selected_gradient_begin = Color.FromArgb(182, 189, 210); menu_item_selected_gradient_end = Color.FromArgb(182, 189, 210); menu_strip_gradient_begin = SystemColors.ButtonFace; menu_strip_gradient_end = Color.FromArgb(246, 245, 244); overflow_button_gradient_begin = Color.FromArgb(225, 222, 217); overflow_button_gradient_end = SystemColors.ButtonShadow; overflow_button_gradient_middle = Color.FromArgb(216, 213, 206); rafting_container_gradient_begin = SystemColors.ButtonFace; rafting_container_gradient_end = Color.FromArgb(246, 245, 244); separator_dark = Color.FromArgb(166, 166, 166); separator_light = SystemColors.ButtonHighlight; status_strip_gradient_begin = SystemColors.ButtonFace; status_strip_gradient_end = Color.FromArgb(246, 245, 244); tool_strip_border = Color.FromArgb(219, 216, 209); tool_strip_content_panel_gradient_begin = SystemColors.ButtonFace; tool_strip_content_panel_gradient_end = Color.FromArgb(246, 245, 244); tool_strip_drop_down_background = Color.FromArgb(249, 248, 247); tool_strip_gradient_begin = Color.FromArgb(245, 244, 242); tool_strip_gradient_end = SystemColors.ButtonFace; tool_strip_gradient_middle = Color.FromArgb(234, 232, 228); tool_strip_panel_gradient_begin = SystemColors.ButtonFace; tool_strip_panel_gradient_end = Color.FromArgb(246, 245, 244); break; case STYLE.NormalColor: button_checked_gradient_begin = use_system_colors ? Color.Empty : Color.FromArgb(255, 223, 154); button_checked_gradient_end = use_system_colors ? Color.Empty : Color.FromArgb(255, 166, 76); button_checked_gradient_middle = use_system_colors ? Color.Empty : Color.FromArgb(255, 195, 116); button_checked_highlight = Color.FromArgb(195, 211, 237); button_checked_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_pressed_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(0, 0, 128); button_pressed_gradient_begin = use_system_colors ? Color.FromArgb(152, 181, 226) : Color.FromArgb(254, 128, 62); button_pressed_gradient_end = use_system_colors ? Color.FromArgb(152, 181, 226) : Color.FromArgb(255, 223, 154); button_pressed_gradient_middle = use_system_colors ? Color.FromArgb(152, 181, 226) : Color.FromArgb(255, 177, 109); button_pressed_highlight = use_system_colors ? Color.FromArgb(150, 179, 225) : Color.FromArgb(150, 179, 225); button_pressed_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_selected_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(0, 0, 128); button_selected_gradient_begin = use_system_colors ? Color.FromArgb(193, 210, 238) : Color.FromArgb(255, 255, 222); button_selected_gradient_end = use_system_colors ? Color.FromArgb(193, 210, 238) : Color.FromArgb(255, 203, 136); button_selected_gradient_middle = use_system_colors ? Color.FromArgb(193, 210, 238) : Color.FromArgb(255, 225, 172); button_selected_highlight = use_system_colors ? Color.FromArgb(195, 211, 237) : Color.FromArgb(195, 211, 237); button_selected_highlight_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(0, 0, 128); check_background = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(255, 192, 111); check_pressed_background = use_system_colors ? Color.FromArgb(152, 181, 226) : Color.FromArgb(254, 128, 62); check_selected_background = use_system_colors ? Color.FromArgb(152, 181, 226) : Color.FromArgb(254, 128, 62); grip_dark = use_system_colors ? Color.FromArgb(193, 190, 179) : Color.FromArgb(39, 65, 118); grip_light = use_system_colors ? SystemColors.Window : Color.FromArgb(255, 255, 255); image_margin_gradient_begin = use_system_colors ? Color.FromArgb(251, 250, 246) : Color.FromArgb(227, 239, 255); image_margin_gradient_end = use_system_colors ? SystemColors.Control : Color.FromArgb(123, 164, 224); image_margin_gradient_middle = use_system_colors ? Color.FromArgb(246, 244, 236) : Color.FromArgb(203, 225, 252); image_margin_revealed_gradient_begin = use_system_colors ? Color.FromArgb(247, 246, 239) : Color.FromArgb(203, 221, 246); image_margin_revealed_gradient_end = use_system_colors ? Color.FromArgb(238, 235, 220) : Color.FromArgb(114, 155, 215); image_margin_revealed_gradient_middle = use_system_colors ? Color.FromArgb(242, 240, 228) : Color.FromArgb(161, 197, 249); menu_border = use_system_colors ? Color.FromArgb(138, 134, 122) : Color.FromArgb(0, 45, 150); menu_item_border = use_system_colors ? SystemColors.Highlight : Color.FromArgb(0, 0, 128); menu_item_pressed_gradient_begin = use_system_colors ? Color.FromArgb(251, 250, 246) : Color.FromArgb(227, 239, 255); menu_item_pressed_gradient_end = use_system_colors ? Color.FromArgb(246, 244, 236) : Color.FromArgb(123, 164, 224); menu_item_pressed_gradient_middle = use_system_colors ? Color.FromArgb(242, 240, 228) : Color.FromArgb(161, 197, 249); menu_item_selected = use_system_colors ? SystemColors.Window : Color.FromArgb(255, 238, 194); menu_item_selected_gradient_begin = use_system_colors ? Color.FromArgb(193, 210, 238) : Color.FromArgb(255, 255, 222); menu_item_selected_gradient_end = use_system_colors ? Color.FromArgb(193, 210, 238) : Color.FromArgb(255, 203, 136); menu_strip_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(158, 190, 245); menu_strip_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(196, 218, 250); overflow_button_gradient_begin = use_system_colors ? Color.FromArgb(242, 240, 228) : Color.FromArgb(127, 177, 250); overflow_button_gradient_end = use_system_colors ? SystemColors.ButtonShadow : Color.FromArgb(0, 53, 145); overflow_button_gradient_middle = use_system_colors ? Color.FromArgb(238, 235, 220) : Color.FromArgb(82, 127, 208); rafting_container_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(158, 190, 245); rafting_container_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(196, 218, 250); separator_dark = use_system_colors ? Color.FromArgb(197, 194, 184) : Color.FromArgb(106, 140, 203); separator_light = use_system_colors ? SystemColors.ButtonHighlight : Color.FromArgb(241, 249, 255); status_strip_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(158, 190, 245); status_strip_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(196, 218, 250); tool_strip_border = use_system_colors ? Color.FromArgb(239, 237, 222) : Color.FromArgb(59, 97, 156); tool_strip_content_panel_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(158, 190, 245); tool_strip_content_panel_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(196, 218, 250); tool_strip_drop_down_background = use_system_colors ? Color.FromArgb(252, 252, 249) : Color.FromArgb(246, 246, 246); tool_strip_gradient_begin = use_system_colors ? Color.FromArgb(251, 250, 246) : Color.FromArgb(227, 239, 255); tool_strip_gradient_end = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(123, 164, 224); tool_strip_gradient_middle = use_system_colors ? Color.FromArgb(246, 244, 236) : Color.FromArgb(203, 225, 252); tool_strip_panel_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(158, 190, 245); tool_strip_panel_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(196, 218, 250); break; case STYLE.HomeStead: button_checked_gradient_begin = use_system_colors ? Color.Empty : Color.FromArgb(255, 223, 154); button_checked_gradient_end = use_system_colors ? Color.Empty : Color.FromArgb(255, 166, 76); button_checked_gradient_middle = use_system_colors ? Color.Empty : Color.FromArgb(255, 195, 116); button_checked_highlight = Color.FromArgb(223, 227, 213); button_checked_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_pressed_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(63, 93, 56); button_pressed_gradient_begin = use_system_colors ? Color.FromArgb(201, 208, 184) : Color.FromArgb(254, 128, 62); button_pressed_gradient_end = use_system_colors ? Color.FromArgb(201, 208, 184) : Color.FromArgb(255, 223, 154); button_pressed_gradient_middle = use_system_colors ? Color.FromArgb(201, 208, 184) : Color.FromArgb(255, 177, 109); button_pressed_highlight = use_system_colors ? Color.FromArgb(200, 206, 182) : Color.FromArgb(200, 206, 182); button_pressed_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_selected_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(63, 93, 56); button_selected_gradient_begin = use_system_colors ? Color.FromArgb(223, 227, 212) : Color.FromArgb(255, 255, 222); button_selected_gradient_end = use_system_colors ? Color.FromArgb(223, 227, 212) : Color.FromArgb(255, 203, 136); button_selected_gradient_middle = use_system_colors ? Color.FromArgb(223, 227, 212) : Color.FromArgb(255, 225, 172); button_selected_highlight = use_system_colors ? Color.FromArgb(223, 227, 213) : Color.FromArgb(223, 227, 213); button_selected_highlight_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(63, 93, 56); check_background = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(255, 192, 111); check_pressed_background = use_system_colors ? Color.FromArgb(201, 208, 184) : Color.FromArgb(254, 128, 62); check_selected_background = use_system_colors ? Color.FromArgb(201, 208, 184) : Color.FromArgb(254, 128, 62); grip_dark = use_system_colors ? Color.FromArgb(193, 190, 179) : Color.FromArgb(81, 94, 51); grip_light = use_system_colors ? SystemColors.Window : Color.FromArgb(255, 255, 255); image_margin_gradient_begin = use_system_colors ? Color.FromArgb(251, 250, 246) : Color.FromArgb(255, 255, 237); image_margin_gradient_end = use_system_colors ? SystemColors.Control : Color.FromArgb(181, 196, 143); image_margin_gradient_middle = use_system_colors ? Color.FromArgb(246, 244, 236) : Color.FromArgb(206, 220, 167); image_margin_revealed_gradient_begin = use_system_colors ? Color.FromArgb(247, 246, 239) : Color.FromArgb(230, 230, 209); image_margin_revealed_gradient_end = use_system_colors ? Color.FromArgb(238, 235, 220) : Color.FromArgb(160, 177, 116); image_margin_revealed_gradient_middle = use_system_colors ? Color.FromArgb(242, 240, 228) : Color.FromArgb(186, 201, 143); menu_border = use_system_colors ? Color.FromArgb(138, 134, 122) : Color.FromArgb(117, 141, 94); menu_item_border = use_system_colors ? SystemColors.Highlight : Color.FromArgb(63, 93, 56); menu_item_pressed_gradient_begin = use_system_colors ? Color.FromArgb(251, 250, 246) : Color.FromArgb(237, 240, 214); menu_item_pressed_gradient_end = use_system_colors ? Color.FromArgb(246, 244, 236) : Color.FromArgb(181, 196, 143); menu_item_pressed_gradient_middle = use_system_colors ? Color.FromArgb(242, 240, 228) : Color.FromArgb(186, 201, 143); menu_item_selected = use_system_colors ? SystemColors.Window : Color.FromArgb(255, 238, 194); menu_item_selected_gradient_begin = use_system_colors ? Color.FromArgb(223, 227, 212) : Color.FromArgb(255, 255, 222); menu_item_selected_gradient_end = use_system_colors ? Color.FromArgb(223, 227, 212) : Color.FromArgb(255, 203, 136); menu_strip_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(217, 217, 167); menu_strip_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(242, 241, 228); overflow_button_gradient_begin = use_system_colors ? Color.FromArgb(242, 240, 228) : Color.FromArgb(186, 204, 150); overflow_button_gradient_end = use_system_colors ? SystemColors.ButtonShadow : Color.FromArgb(96, 119, 107); overflow_button_gradient_middle = use_system_colors ? Color.FromArgb(238, 235, 220) : Color.FromArgb(141, 160, 107); rafting_container_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(217, 217, 167); rafting_container_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(242, 241, 228); separator_dark = use_system_colors ? Color.FromArgb(197, 194, 184) : Color.FromArgb(96, 128, 88); separator_light = use_system_colors ? SystemColors.ButtonHighlight : Color.FromArgb(244, 247, 222); status_strip_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(217, 217, 167); status_strip_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(242, 241, 228); tool_strip_border = use_system_colors ? Color.FromArgb(239, 237, 222) : Color.FromArgb(96, 128, 88); tool_strip_content_panel_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(217, 217, 167); tool_strip_content_panel_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(242, 241, 228); tool_strip_drop_down_background = use_system_colors ? Color.FromArgb(252, 252, 249) : Color.FromArgb(244, 244, 238); tool_strip_gradient_begin = use_system_colors ? Color.FromArgb(251, 250, 246) : Color.FromArgb(255, 255, 237); tool_strip_gradient_end = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(181, 196, 143); tool_strip_gradient_middle = use_system_colors ? Color.FromArgb(246, 244, 236) : Color.FromArgb(206, 220, 167); tool_strip_panel_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(217, 217, 167); tool_strip_panel_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 247) : Color.FromArgb(242, 241, 228); break; case STYLE.Metallic: button_checked_gradient_begin = use_system_colors ? Color.Empty : Color.FromArgb(255, 223, 154); button_checked_gradient_end = use_system_colors ? Color.Empty : Color.FromArgb(255, 166, 76); button_checked_gradient_middle = use_system_colors ? Color.Empty : Color.FromArgb(255, 195, 116); button_checked_highlight = Color.FromArgb(231, 232, 235); button_checked_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_pressed_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(75, 75, 111); button_pressed_gradient_begin = use_system_colors ? Color.FromArgb(217, 218, 223) : Color.FromArgb(254, 128, 62); button_pressed_gradient_end = use_system_colors ? Color.FromArgb(217, 218, 223) : Color.FromArgb(255, 223, 154); button_pressed_gradient_middle = use_system_colors ? Color.FromArgb(217, 218, 223) : Color.FromArgb(255, 177, 109); button_pressed_highlight = use_system_colors ? Color.FromArgb(215, 216, 222) : Color.FromArgb(215, 216, 222); button_pressed_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_selected_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(75, 75, 111); button_selected_gradient_begin = use_system_colors ? Color.FromArgb(232, 233, 236) : Color.FromArgb(255, 255, 222); button_selected_gradient_end = use_system_colors ? Color.FromArgb(232, 233, 236) : Color.FromArgb(255, 203, 136); button_selected_gradient_middle = use_system_colors ? Color.FromArgb(232, 233, 236) : Color.FromArgb(255, 225, 172); button_selected_highlight = use_system_colors ? Color.FromArgb(231, 232, 235) : Color.FromArgb(231, 232, 235); button_selected_highlight_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(75, 75, 111); check_background = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(255, 192, 111); check_pressed_background = use_system_colors ? Color.FromArgb(217, 218, 223) : Color.FromArgb(254, 128, 62); check_selected_background = use_system_colors ? Color.FromArgb(217, 218, 223) : Color.FromArgb(254, 128, 62); grip_dark = use_system_colors ? Color.FromArgb(182, 182, 185) : Color.FromArgb(84, 84, 117); grip_light = use_system_colors ? SystemColors.Window : Color.FromArgb(255, 255, 255); image_margin_gradient_begin = use_system_colors ? Color.FromArgb(248, 248, 249) : Color.FromArgb(249, 249, 255); image_margin_gradient_end = use_system_colors ? SystemColors.Control : Color.FromArgb(147, 145, 176); image_margin_gradient_middle = use_system_colors ? Color.FromArgb(240, 239, 241) : Color.FromArgb(225, 226, 236); image_margin_revealed_gradient_begin = use_system_colors ? Color.FromArgb(243, 242, 244) : Color.FromArgb(215, 215, 226); image_margin_revealed_gradient_end = use_system_colors ? Color.FromArgb(227, 226, 230) : Color.FromArgb(118, 116, 151); image_margin_revealed_gradient_middle = use_system_colors ? Color.FromArgb(233, 233, 235) : Color.FromArgb(184, 185, 202); menu_border = use_system_colors ? Color.FromArgb(126, 126, 129) : Color.FromArgb(124, 124, 148); menu_item_border = use_system_colors ? SystemColors.Highlight : Color.FromArgb(75, 75, 111); menu_item_pressed_gradient_begin = use_system_colors ? Color.FromArgb(248, 248, 249) : Color.FromArgb(232, 233, 242); menu_item_pressed_gradient_end = use_system_colors ? Color.FromArgb(240, 239, 241) : Color.FromArgb(172, 170, 194); menu_item_pressed_gradient_middle = use_system_colors ? Color.FromArgb(233, 233, 235) : Color.FromArgb(184, 185, 202); menu_item_selected = use_system_colors ? SystemColors.Window : Color.FromArgb(255, 238, 194); menu_item_selected_gradient_begin = use_system_colors ? Color.FromArgb(232, 233, 236) : Color.FromArgb(255, 255, 222); menu_item_selected_gradient_end = use_system_colors ? Color.FromArgb(232, 233, 236) : Color.FromArgb(255, 203, 136); menu_strip_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(215, 215, 229); menu_strip_gradient_end = use_system_colors ? Color.FromArgb(249, 248, 249) : Color.FromArgb(243, 243, 247); overflow_button_gradient_begin = use_system_colors ? Color.FromArgb(233, 233, 235) : Color.FromArgb(186, 185, 206); overflow_button_gradient_end = use_system_colors ? SystemColors.ButtonShadow : Color.FromArgb(118, 116, 146); overflow_button_gradient_middle = use_system_colors ? Color.FromArgb(227, 226, 230) : Color.FromArgb(156, 155, 180); rafting_container_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(215, 215, 229); rafting_container_gradient_end = use_system_colors ? Color.FromArgb(249, 248, 249) : Color.FromArgb(243, 243, 247); separator_dark = use_system_colors ? Color.FromArgb(186, 186, 189) : Color.FromArgb(110, 109, 143); separator_light = use_system_colors ? SystemColors.ButtonHighlight : Color.FromArgb(255, 255, 255); status_strip_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(215, 215, 229); status_strip_gradient_end = use_system_colors ? Color.FromArgb(249, 248, 249) : Color.FromArgb(243, 243, 247); tool_strip_border = use_system_colors ? Color.FromArgb(229, 228, 232) : Color.FromArgb(124, 124, 148); tool_strip_content_panel_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(215, 215, 229); tool_strip_content_panel_gradient_end = use_system_colors ? Color.FromArgb(249, 248, 249) : Color.FromArgb(243, 243, 247); tool_strip_drop_down_background = use_system_colors ? Color.FromArgb(251, 250, 251) : Color.FromArgb(253, 250, 255); tool_strip_gradient_begin = use_system_colors ? Color.FromArgb(248, 248, 249) : Color.FromArgb(249, 249, 255); tool_strip_gradient_end = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(147, 145, 176); tool_strip_gradient_middle = use_system_colors ? Color.FromArgb(240, 239, 241) : Color.FromArgb(225, 226, 236); tool_strip_panel_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(215, 215, 229); tool_strip_panel_gradient_end = use_system_colors ? Color.FromArgb(249, 248, 249) : Color.FromArgb(243, 243, 247); break; case STYLE.MediaCenter: button_checked_gradient_begin = use_system_colors ? Color.Empty : Color.FromArgb(226, 229, 238); button_checked_gradient_end = use_system_colors ? Color.Empty : Color.FromArgb(226, 229, 238); button_checked_gradient_middle = use_system_colors ? Color.Empty : Color.FromArgb(226, 229, 238); button_checked_highlight = Color.FromArgb(196, 208, 229); button_checked_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_pressed_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(51, 94, 168); button_pressed_gradient_begin = use_system_colors ? Color.FromArgb(153, 175, 212) : Color.FromArgb(153, 175, 212); button_pressed_gradient_end = use_system_colors ? Color.FromArgb(153, 175, 212) : Color.FromArgb(153, 175, 212); button_pressed_gradient_middle = use_system_colors ? Color.FromArgb(153, 175, 212) : Color.FromArgb(153, 175, 212); button_pressed_highlight = use_system_colors ? Color.FromArgb(152, 173, 210) : Color.FromArgb(152, 173, 210); button_pressed_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_selected_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(51, 94, 168); button_selected_gradient_begin = use_system_colors ? Color.FromArgb(194, 207, 229) : Color.FromArgb(194, 207, 229); button_selected_gradient_end = use_system_colors ? Color.FromArgb(194, 207, 229) : Color.FromArgb(194, 207, 229); button_selected_gradient_middle = use_system_colors ? Color.FromArgb(194, 207, 229) : Color.FromArgb(194, 207, 229); button_selected_highlight = use_system_colors ? Color.FromArgb(196, 208, 229) : Color.FromArgb(196, 208, 229); button_selected_highlight_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(51, 94, 168); check_background = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(226, 229, 238); check_pressed_background = use_system_colors ? Color.FromArgb(153, 175, 212) : Color.FromArgb(51, 94, 168); check_selected_background = use_system_colors ? Color.FromArgb(153, 175, 212) : Color.FromArgb(51, 94, 168); grip_dark = use_system_colors ? Color.FromArgb(189, 188, 191) : Color.FromArgb(189, 188, 191); grip_light = use_system_colors ? SystemColors.Window : Color.FromArgb(255, 255, 255); image_margin_gradient_begin = use_system_colors ? Color.FromArgb(250, 250, 251) : Color.FromArgb(252, 252, 252); image_margin_gradient_end = use_system_colors ? SystemColors.Control : Color.FromArgb(235, 233, 237); image_margin_gradient_middle = use_system_colors ? Color.FromArgb(245, 244, 246) : Color.FromArgb(245, 244, 246); image_margin_revealed_gradient_begin = use_system_colors ? Color.FromArgb(247, 246, 248) : Color.FromArgb(247, 246, 248); image_margin_revealed_gradient_end = use_system_colors ? Color.FromArgb(237, 235, 239) : Color.FromArgb(228, 226, 230); image_margin_revealed_gradient_middle = use_system_colors ? Color.FromArgb(241, 240, 242) : Color.FromArgb(241, 240, 242); menu_border = use_system_colors ? Color.FromArgb(134, 133, 136) : Color.FromArgb(134, 133, 136); menu_item_border = use_system_colors ? SystemColors.Highlight : Color.FromArgb(51, 94, 168); menu_item_pressed_gradient_begin = use_system_colors ? Color.FromArgb(250, 250, 251) : Color.FromArgb(252, 252, 252); menu_item_pressed_gradient_end = use_system_colors ? Color.FromArgb(245, 244, 246) : Color.FromArgb(245, 244, 246); menu_item_pressed_gradient_middle = use_system_colors ? Color.FromArgb(241, 240, 242) : Color.FromArgb(241, 240, 242); menu_item_selected = use_system_colors ? SystemColors.Window : Color.FromArgb(194, 207, 229); menu_item_selected_gradient_begin = use_system_colors ? Color.FromArgb(194, 207, 229) : Color.FromArgb(194, 207, 229); menu_item_selected_gradient_end = use_system_colors ? Color.FromArgb(194, 207, 229) : Color.FromArgb(194, 207, 229); menu_strip_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(235, 233, 237); menu_strip_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 251) : Color.FromArgb(251, 250, 251); overflow_button_gradient_begin = use_system_colors ? Color.FromArgb(241, 240, 242) : Color.FromArgb(242, 242, 242); overflow_button_gradient_end = use_system_colors ? SystemColors.ButtonShadow : Color.FromArgb(167, 166, 170); overflow_button_gradient_middle = use_system_colors ? Color.FromArgb(237, 235, 239) : Color.FromArgb(224, 224, 225); rafting_container_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(235, 233, 237); rafting_container_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 251) : Color.FromArgb(251, 250, 251); separator_dark = use_system_colors ? Color.FromArgb(193, 193, 196) : Color.FromArgb(193, 193, 196); separator_light = use_system_colors ? SystemColors.ButtonHighlight : Color.FromArgb(255, 255, 255); status_strip_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(235, 233, 237); status_strip_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 251) : Color.FromArgb(251, 250, 251); tool_strip_border = use_system_colors ? Color.FromArgb(238, 237, 240) : Color.FromArgb(238, 237, 240); tool_strip_content_panel_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(235, 233, 237); tool_strip_content_panel_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 251) : Color.FromArgb(251, 250, 251); tool_strip_drop_down_background = use_system_colors ? Color.FromArgb(252, 252, 252) : Color.FromArgb(252, 252, 252); tool_strip_gradient_begin = use_system_colors ? Color.FromArgb(250, 250, 251) : Color.FromArgb(252, 252, 252); tool_strip_gradient_end = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(235, 233, 237); tool_strip_gradient_middle = use_system_colors ? Color.FromArgb(245, 244, 246) : Color.FromArgb(245, 244, 246); tool_strip_panel_gradient_begin = use_system_colors ? SystemColors.ButtonFace : Color.FromArgb(235, 233, 237); tool_strip_panel_gradient_end = use_system_colors ? Color.FromArgb(251, 250, 251) : Color.FromArgb(251, 250, 251); break; case STYLE.Aero: button_checked_gradient_begin = Color.Empty; button_checked_gradient_end = Color.Empty; button_checked_gradient_middle = Color.Empty; button_checked_highlight = Color.FromArgb(196, 225, 255); button_checked_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_pressed_border = Color.FromKnownColor(KnownColor.Highlight); button_pressed_gradient_begin = Color.FromArgb(153, 204, 255); button_pressed_gradient_end = Color.FromArgb(153, 204, 255); button_pressed_gradient_middle = Color.FromArgb(153, 204, 255); button_pressed_highlight = Color.FromArgb(152, 203, 255); button_pressed_highlight_border = Color.FromKnownColor(KnownColor.Highlight); button_selected_border = use_system_colors ? Color.FromKnownColor(KnownColor.Highlight) : Color.FromArgb(51, 94, 168); button_selected_gradient_begin = Color.FromArgb(194, 224, 255); button_selected_gradient_end = Color.FromArgb(194, 224, 255); button_selected_gradient_middle = Color.FromArgb(194, 224, 255); button_selected_highlight = Color.FromArgb(196, 225, 255); button_selected_highlight_border = Color.FromKnownColor(KnownColor.Highlight); check_background = Color.FromKnownColor(KnownColor.Highlight); check_pressed_background = Color.FromArgb(153, 204, 255); check_selected_background = Color.FromArgb(153, 204, 255); grip_dark = Color.FromArgb(184, 184, 184); grip_light = SystemColors.Window; image_margin_gradient_begin = Color.FromArgb(252, 252, 252); image_margin_gradient_end = SystemColors.Control; image_margin_gradient_middle = Color.FromArgb(250, 250, 250); image_margin_revealed_gradient_begin = Color.FromArgb(251, 251, 251); image_margin_revealed_gradient_end = Color.FromArgb(245, 245, 245); image_margin_revealed_gradient_middle = Color.FromArgb(247, 247, 247); menu_border = Color.FromArgb(128, 128, 128); menu_item_border = SystemColors.Highlight; menu_item_pressed_gradient_begin = Color.FromArgb(252, 252, 252); menu_item_pressed_gradient_end = Color.FromArgb(250, 250, 250); menu_item_pressed_gradient_middle = Color.FromArgb(247, 247, 247); menu_item_selected = SystemColors.Window; menu_item_selected_gradient_begin = Color.FromArgb(194, 224, 255); menu_item_selected_gradient_end = Color.FromArgb(194, 224, 255); menu_strip_gradient_begin = SystemColors.ButtonFace; menu_strip_gradient_end = Color.FromArgb(253, 253, 253); overflow_button_gradient_begin = Color.FromArgb(247, 247, 247); overflow_button_gradient_end = SystemColors.ButtonShadow; overflow_button_gradient_middle = Color.FromArgb(245, 245, 245); rafting_container_gradient_begin = SystemColors.ButtonFace; rafting_container_gradient_end = Color.FromArgb(253, 253, 253); separator_dark = Color.FromArgb(189, 189, 189); separator_light = SystemColors.ButtonHighlight; status_strip_gradient_begin = SystemColors.ButtonFace; status_strip_gradient_end = Color.FromArgb(253, 253, 253); tool_strip_border = Color.FromArgb(246, 246, 246); tool_strip_content_panel_gradient_begin = SystemColors.ButtonFace; tool_strip_content_panel_gradient_end = Color.FromArgb(253, 253, 253); tool_strip_drop_down_background = Color.FromArgb(253, 253, 253); tool_strip_gradient_begin = Color.FromArgb(252, 252, 252); tool_strip_gradient_end = SystemColors.ButtonFace; tool_strip_gradient_middle = Color.FromArgb(250, 250, 250); tool_strip_panel_gradient_begin = SystemColors.ButtonFace; tool_strip_panel_gradient_end = Color.FromArgb(253, 253, 253); break; default: setColors(STYLE.Classic); break; } } #endregion } }
Structure et Fichiers du projet
Afficher/masquer...Icône | Nom | Taille | Modification |
Icône | Nom | Taille | Modification |
| _ | Répertoire parent | 0 octets | 1732286226 22/11/2024 15:37:06 |
| _ | vista | 0 octets | 1541007202 31/10/2018 18:33:22 |
Utilisation de l'explorateur de code
- Navigation :
- Un clic sur une icône de répertoire ouvre ce répertoire pour en afficher les fichiers.
- Lorsque le répertoire en cours ne contient pas de sous-répertoires il est possible de remonter vers le répertoire parent.
- La structure de répertoires en treetable (tableau en forme d'arborescence) n'est plus possibledans cette version.
- Un clic sur une icône de fichier ouvre ce fichier pour en afficher le code avec la coloration syntaxique adaptée en fonction du langage principal utilisé dans le fichier.
- Affichage :
- Il est possible de trier les répertoires ou les fichiers selon certains critères (nom, taille, date).
- Actions :
- Les actions possible sur les fichiers dépendent de vos droits d'utilisateur sur le site. Veuillez activer le mode utilisateur pour activer les actions.
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 16/10/2009, zuletzt geändert 26/10/2018
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/cs-broldev-source-rf-view/style//ProfessionalColorTableFactory.cs.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.