CustomSystemColors.cs
Description du code
CustomSystemColors.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# (CustomSystemColors.cs) (420 lignes)
using System.Drawing; namespace be.gaudry.view.style { public class CustomSystemColors { private Color activeBorder, activeCaption, activeCaptionText, appWorkspace, buttonFace, buttonHighlight, buttonShadow, control, controlDark, controlDarkDark, controlLight, controlLightLight, controlText, desktop, gradientActiveCaption, gradientInactiveCaption, grayText, highlight, highlightText, hotTrack, inactiveBorder, inactiveCaption, inactiveCaptionText, info, infoText, menu, menuBar, menuHighlight, menuText, scrollBar, window, windowFrame, windowText; #region properties // Summary: // Gets a System.Drawing.Color structure that is the color of the active window's // border. // // Returns: // A System.Drawing.Color that is the color of the active window's border. public Color ActiveBorder { get { return activeBorder; } set { activeBorder = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the background // of the active window's title bar. // // Returns: // A System.Drawing.Color that is the color of the active window's title bar. public Color ActiveCaption { get { return activeCaption; } set { activeCaption = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the text in the // active window's title bar. // // Returns: // A System.Drawing.Color that is the color of the text in the active window's // title bar. public Color ActiveCaptionText { get { return activeCaptionText; } set { activeCaptionText = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the application // workspace. // // Returns: // A System.Drawing.Color that is the color of the application workspace. public Color AppWorkspace { get { return appWorkspace; } set { appWorkspace = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the face color of a 3-D element. // // Returns: // A System.Drawing.Color that is the face color of a 3-D element. public Color ButtonFace { get { return buttonFace; } set { buttonFace = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the highlight color of a 3-D // element. // // Returns: // A System.Drawing.Color that is the highlight color of a 3-D element. public Color ButtonHighlight { get { return buttonHighlight; } set { buttonHighlight = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the shadow color of a 3-D element. // // Returns: // A System.Drawing.Color that is the shadow color of a 3-D element. public Color ButtonShadow { get { return buttonShadow; } set { buttonShadow = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the face color of a 3-D element. // // Returns: // A System.Drawing.Color that is the face color of a 3-D element. public Color Control { get { return control; } set { control = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the shadow color of a 3-D element. // // Returns: // A System.Drawing.Color that is the shadow color of a 3-D element. public Color ControlDark { get { return controlDark; } set { controlDark = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the dark shadow color of a // 3-D element. // // Returns: // A System.Drawing.Color that is the dark shadow color of a 3-D element. public Color ControlDarkDark { get { return controlDarkDark; } set { controlDarkDark = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the light color of a 3-D element. // // Returns: // A System.Drawing.Color that is the light color of a 3-D element. public Color ControlLight { get { return controlLight; } set { controlLight = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the highlight color of a 3-D // element. // // Returns: // A System.Drawing.Color that is the highlight color of a 3-D element. public Color ControlLightLight { get { return controlLightLight; } set { controlLightLight = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of text in a 3-D // element. // // Returns: // A System.Drawing.Color that is the color of text in a 3-D element. public Color ControlText { get { return controlText; } set { controlText = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the desktop. // // Returns: // A System.Drawing.Color that is the color of the desktop. public Color Desktop { get { return desktop; } set { desktop = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the lightest color in the color // gradient of an active window's title bar. // // Returns: // A System.Drawing.Color that is the lightest color in the color gradient of // an active window's title bar. public Color GradientActiveCaption { get { return gradientActiveCaption; } set { gradientActiveCaption = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the lightest color in the color // gradient of an inactive window's title bar. // // Returns: // A System.Drawing.Color that is the lightest color in the color gradient of // an inactive window's title bar. public Color GradientInactiveCaption { get { return gradientInactiveCaption; } set { gradientInactiveCaption = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of dimmed text. // // Returns: // A System.Drawing.Color that is the color of dimmed text. public Color GrayText { get { return grayText; } set { grayText = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the background // of selected items. // // Returns: // A System.Drawing.Color that is the color of the background of selected items. public Color Highlight { get { return highlight; } set { highlight = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the text of selected // items. // // Returns: // A System.Drawing.Color that is the color of the text of selected items. public Color HighlightText { get { return highlightText; } set { highlightText = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color used to designate // a hot-tracked item. // // Returns: // A System.Drawing.Color that is the color used to designate a hot-tracked // item. public Color HotTrack { get { return hotTrack; } set { hotTrack = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of an inactive window's // border. // // Returns: // A System.Drawing.Color that is the color of an inactive window's border. public Color InactiveBorder { get { return inactiveBorder; } set { inactiveBorder = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the background // of an inactive window's title bar. // // Returns: // A System.Drawing.Color that is the color of the background of an inactive // window's title bar. public Color InactiveCaption { get { return inactiveCaption; } set { inactiveCaption = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the text in an // inactive window's title bar. // // Returns: // A System.Drawing.Color that is the color of the text in an inactive window's // title bar. public Color InactiveCaptionText { get { return inactiveCaptionText; } set { inactiveCaptionText = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the background // of a ToolTip. // // Returns: // A System.Drawing.Color that is the color of the background of a ToolTip. public Color Info { get { return info; } set { info = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the text of a // ToolTip. // // Returns: // A System.Drawing.Color that is the color of the text of a ToolTip. public Color InfoText { get { return infoText; } set { infoText = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of a menu's background. // // Returns: // A System.Drawing.Color that is the color of a menu's background. public Color Menu { get { return menu; } set { menu = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the background // of a menu bar. // // Returns: // A System.Drawing.Color that is the color of the background of a menu bar. public Color MenuBar { get { return menuBar; } set { menuBar = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color used to highlight // menu items when the menu appears as a flat menu. // // Returns: // A System.Drawing.Color that is the color used to highlight menu items when // the menu appears as a flat menu. public Color MenuHighlight { get { return menuHighlight; } set { menuHighlight = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of a menu's text. // // Returns: // A System.Drawing.Color that is the color of a menu's text. public Color MenuText { get { return menuText; } set { menuText = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the background // of a scroll bar. // // Returns: // A System.Drawing.Color that is the color of the background of a scroll bar. public Color ScrollBar { get { return scrollBar; } set { scrollBar = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the background // in the client area of a window. // // Returns: // A System.Drawing.Color that is the color of the background in the client // area of a window. public Color Window { get { return window; } set { window = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of a window frame. // // Returns: // A System.Drawing.Color that is the color of a window frame. public Color WindowFrame { get { return windowFrame; } set { windowFrame = value; } } // // Summary: // Gets a System.Drawing.Color structure that is the color of the text in the // client area of a window. // // Returns: // A System.Drawing.Color that is the color of the text in the client area of // a window. public Color WindowText { get { return windowText; } set { windowText = value; } } #endregion } }
Structure et Fichiers du projet
Afficher/masquer...Icône | Nom | Taille | Modification |
Icône | Nom | Taille | Modification |
| _ | Répertoire parent | 0 octets | 1730804431 05/11/2024 12:00:31 |
| _ | 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.
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 16/10/2009 gemaakt, de laatste keer de 26/10/2018 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/cs-broldev-source-rf-view/style/CustomSystemColors.cs.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.