ControlStyleColors.cs
Description du code
ControlStyleColors.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# (ControlStyleColors.cs) (143 lignes)
using System.Drawing; using System.Windows.Forms; namespace be.gaudry.view.style { public class ControlStyleColors : ProfessionalColorTable { private Color light = Color.FromArgb(254, 254, 245); private Color controlLightLight = Color.FromArgb(244, 244, 231); private Color controlLight = Color.FromArgb(234, 234, 221); private Color control = Color.FromArgb(224, 224, 211); private Color controlDark = Color.FromArgb(164, 164, 151); private Color controlDarkDark = Color.FromArgb(114, 114, 101); private Color lightLightBlue = Color.FromArgb(234, 243, 255); private Color lightBlue = Color.FromArgb(224, 233, 248); private Color steelBlue = Color.FromArgb(116, 158, 197); private Color darkBlue = Color.FromArgb(66, 113, 155); public override Color MenuStripGradientBegin { get { return control; } } public override Color MenuStripGradientEnd { get { return controlLightLight; } } public override Color ToolStripGradientBegin { get { return controlLightLight; } } public override Color ToolStripGradientMiddle { get { return controlLight; } } public override Color ToolStripGradientEnd { get { return controlDark; } } public override Color ToolStripBorder { get { return controlDarkDark; } } public override Color ToolStripPanelGradientBegin { get { return control; } } public override Color ToolStripPanelGradientEnd { get { return controlLightLight; } } public override Color GripDark { get { return controlDarkDark; } } public override Color GripLight { get { return controlLightLight; } } public override Color SeparatorDark { get { return controlDarkDark; } } public override Color SeparatorLight { get { return controlLightLight; } } public override Color MenuBorder { get { return controlDarkDark; } } public override Color MenuItemBorder { get { return steelBlue; } } public override Color MenuItemSelected { get { return lightBlue; } } public override Color MenuItemSelectedGradientBegin { get { return lightBlue; } } public override Color MenuItemSelectedGradientEnd { get { return lightBlue; } } public override Color MenuItemPressedGradientBegin { get { return controlLightLight; } } public override Color MenuItemPressedGradientMiddle { get { return controlLightLight; } } public override Color MenuItemPressedGradientEnd { get { return light; } } public override Color StatusStripGradientBegin { get { return controlLightLight; } } public override Color StatusStripGradientEnd { get { return controlLight; } } public override Color ImageMarginGradientBegin { get { return controlLightLight; } } public override Color ImageMarginGradientMiddle { get { return controlLight; } } public override Color ImageMarginGradientEnd { get { return controlDark; } } public override Color RaftingContainerGradientBegin { get { return light; } } public override Color RaftingContainerGradientEnd { get { return controlLightLight; } } public override Color ToolStripDropDownBackground { get { return light; } } public override Color OverflowButtonGradientBegin { get { return light; } } public override Color OverflowButtonGradientEnd { get { return lightLightBlue; } } public override Color OverflowButtonGradientMiddle { get { return lightBlue; } } public override Color ButtonSelectedGradientBegin { get { return lightLightBlue; } } public override Color ButtonSelectedGradientMiddle { get { return lightLightBlue; } } public override Color ButtonSelectedGradientEnd { get { return lightBlue; } } public override Color ButtonSelectedBorder { get { return darkBlue; } } public override Color ButtonSelectedHighlightBorder { get { return light; } } public override Color ButtonSelectedHighlight { get { return lightBlue; } } public override Color ButtonPressedBorder { get { return light; } } public override Color ButtonPressedGradientBegin { get { return lightLightBlue; } } public override Color ButtonPressedGradientMiddle { get { return light; } } public override Color ButtonPressedGradientEnd { get { return light; } } } }
Structure et Fichiers du projet
Afficher/masquer...Icône | Nom | Taille | Modification |
Icône | Nom | Taille | Modification |
| _ | Répertoire parent | 0 octets | 1730789123 05/11/2024 07:45:23 |
| _ | 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.
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 16/10/2009, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/cs-broldev-source-rf-view/style//ControlStyleColors.cs.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.