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

  1. using System.Drawing;
  2.  
  3. namespace be.gaudry.view.style
  4. {
  5. public class CustomSystemColors
  6. {
  7. private Color activeBorder, activeCaption, activeCaptionText, appWorkspace,
  8. buttonFace, buttonHighlight, buttonShadow,
  9. control, controlDark, controlDarkDark, controlLight, controlLightLight, controlText,
  10. desktop,
  11. gradientActiveCaption, gradientInactiveCaption,
  12. grayText,
  13. highlight, highlightText,
  14. hotTrack,
  15. inactiveBorder, inactiveCaption, inactiveCaptionText,
  16. info, infoText,
  17. menu, menuBar, menuHighlight, menuText,
  18. scrollBar,
  19. window, windowFrame, windowText;
  20.  
  21.  
  22.  
  23. #region properties
  24. // Summary:
  25. // Gets a System.Drawing.Color structure that is the color of the active window's
  26. // border.
  27. //
  28. // Returns:
  29. // A System.Drawing.Color that is the color of the active window's border.
  30. public Color ActiveBorder
  31. {
  32. get { return activeBorder; }
  33. set { activeBorder = value; }
  34. }
  35. //
  36. // Summary:
  37. // Gets a System.Drawing.Color structure that is the color of the background
  38. // of the active window's title bar.
  39. //
  40. // Returns:
  41. // A System.Drawing.Color that is the color of the active window's title bar.
  42. public Color ActiveCaption
  43. {
  44. get { return activeCaption; }
  45. set { activeCaption = value; }
  46. }
  47. //
  48. // Summary:
  49. // Gets a System.Drawing.Color structure that is the color of the text in the
  50. // active window's title bar.
  51. //
  52. // Returns:
  53. // A System.Drawing.Color that is the color of the text in the active window's
  54. // title bar.
  55. public Color ActiveCaptionText
  56. {
  57. get { return activeCaptionText; }
  58. set { activeCaptionText = value; }
  59. }
  60. //
  61. // Summary:
  62. // Gets a System.Drawing.Color structure that is the color of the application
  63. // workspace.
  64. //
  65. // Returns:
  66. // A System.Drawing.Color that is the color of the application workspace.
  67. public Color AppWorkspace
  68. {
  69. get { return appWorkspace; }
  70. set { appWorkspace = value; }
  71. }
  72. //
  73. // Summary:
  74. // Gets a System.Drawing.Color structure that is the face color of a 3-D element.
  75. //
  76. // Returns:
  77. // A System.Drawing.Color that is the face color of a 3-D element.
  78. public Color ButtonFace
  79. {
  80. get { return buttonFace; }
  81. set { buttonFace = value; }
  82. }
  83. //
  84. // Summary:
  85. // Gets a System.Drawing.Color structure that is the highlight color of a 3-D
  86. // element.
  87. //
  88. // Returns:
  89. // A System.Drawing.Color that is the highlight color of a 3-D element.
  90. public Color ButtonHighlight
  91. {
  92. get { return buttonHighlight; }
  93. set { buttonHighlight = value; }
  94. }
  95. //
  96. // Summary:
  97. // Gets a System.Drawing.Color structure that is the shadow color of a 3-D element.
  98. //
  99. // Returns:
  100. // A System.Drawing.Color that is the shadow color of a 3-D element.
  101. public Color ButtonShadow
  102. {
  103. get { return buttonShadow; }
  104. set { buttonShadow = value; }
  105. }
  106. //
  107. // Summary:
  108. // Gets a System.Drawing.Color structure that is the face color of a 3-D element.
  109. //
  110. // Returns:
  111. // A System.Drawing.Color that is the face color of a 3-D element.
  112. public Color Control
  113. {
  114. get { return control; }
  115. set { control = value; }
  116. }
  117. //
  118. // Summary:
  119. // Gets a System.Drawing.Color structure that is the shadow color of a 3-D element.
  120. //
  121. // Returns:
  122. // A System.Drawing.Color that is the shadow color of a 3-D element.
  123. public Color ControlDark
  124. {
  125. get { return controlDark; }
  126. set { controlDark = value; }
  127. }
  128. //
  129. // Summary:
  130. // Gets a System.Drawing.Color structure that is the dark shadow color of a
  131. // 3-D element.
  132. //
  133. // Returns:
  134. // A System.Drawing.Color that is the dark shadow color of a 3-D element.
  135. public Color ControlDarkDark
  136. {
  137. get { return controlDarkDark; }
  138. set { controlDarkDark = value; }
  139. }
  140. //
  141. // Summary:
  142. // Gets a System.Drawing.Color structure that is the light color of a 3-D element.
  143. //
  144. // Returns:
  145. // A System.Drawing.Color that is the light color of a 3-D element.
  146. public Color ControlLight
  147. {
  148. get { return controlLight; }
  149. set { controlLight = value; }
  150. }
  151. //
  152. // Summary:
  153. // Gets a System.Drawing.Color structure that is the highlight color of a 3-D
  154. // element.
  155. //
  156. // Returns:
  157. // A System.Drawing.Color that is the highlight color of a 3-D element.
  158. public Color ControlLightLight
  159. {
  160. get { return controlLightLight; }
  161. set { controlLightLight = value; }
  162. }
  163. //
  164. // Summary:
  165. // Gets a System.Drawing.Color structure that is the color of text in a 3-D
  166. // element.
  167. //
  168. // Returns:
  169. // A System.Drawing.Color that is the color of text in a 3-D element.
  170. public Color ControlText
  171. {
  172. get { return controlText; }
  173. set { controlText = value; }
  174. }
  175. //
  176. // Summary:
  177. // Gets a System.Drawing.Color structure that is the color of the desktop.
  178. //
  179. // Returns:
  180. // A System.Drawing.Color that is the color of the desktop.
  181. public Color Desktop
  182. {
  183. get { return desktop; }
  184. set { desktop = value; }
  185. }
  186. //
  187. // Summary:
  188. // Gets a System.Drawing.Color structure that is the lightest color in the color
  189. // gradient of an active window's title bar.
  190. //
  191. // Returns:
  192. // A System.Drawing.Color that is the lightest color in the color gradient of
  193. // an active window's title bar.
  194. public Color GradientActiveCaption
  195. {
  196. get { return gradientActiveCaption; }
  197. set { gradientActiveCaption = value; }
  198. }
  199. //
  200. // Summary:
  201. // Gets a System.Drawing.Color structure that is the lightest color in the color
  202. // gradient of an inactive window's title bar.
  203. //
  204. // Returns:
  205. // A System.Drawing.Color that is the lightest color in the color gradient of
  206. // an inactive window's title bar.
  207. public Color GradientInactiveCaption
  208. {
  209. get { return gradientInactiveCaption; }
  210. set { gradientInactiveCaption = value; }
  211. }
  212. //
  213. // Summary:
  214. // Gets a System.Drawing.Color structure that is the color of dimmed text.
  215. //
  216. // Returns:
  217. // A System.Drawing.Color that is the color of dimmed text.
  218. public Color GrayText
  219. {
  220. get { return grayText; }
  221. set { grayText = value; }
  222. }
  223. //
  224. // Summary:
  225. // Gets a System.Drawing.Color structure that is the color of the background
  226. // of selected items.
  227. //
  228. // Returns:
  229. // A System.Drawing.Color that is the color of the background of selected items.
  230. public Color Highlight
  231. {
  232. get { return highlight; }
  233. set { highlight = value; }
  234. }
  235. //
  236. // Summary:
  237. // Gets a System.Drawing.Color structure that is the color of the text of selected
  238. // items.
  239. //
  240. // Returns:
  241. // A System.Drawing.Color that is the color of the text of selected items.
  242. public Color HighlightText
  243. {
  244. get { return highlightText; }
  245. set { highlightText = value; }
  246. }
  247. //
  248. // Summary:
  249. // Gets a System.Drawing.Color structure that is the color used to designate
  250. // a hot-tracked item.
  251. //
  252. // Returns:
  253. // A System.Drawing.Color that is the color used to designate a hot-tracked
  254. // item.
  255. public Color HotTrack
  256. {
  257. get { return hotTrack; }
  258. set { hotTrack = value; }
  259. }
  260. //
  261. // Summary:
  262. // Gets a System.Drawing.Color structure that is the color of an inactive window's
  263. // border.
  264. //
  265. // Returns:
  266. // A System.Drawing.Color that is the color of an inactive window's border.
  267. public Color InactiveBorder
  268. {
  269. get { return inactiveBorder; }
  270. set { inactiveBorder = value; }
  271. }
  272. //
  273. // Summary:
  274. // Gets a System.Drawing.Color structure that is the color of the background
  275. // of an inactive window's title bar.
  276. //
  277. // Returns:
  278. // A System.Drawing.Color that is the color of the background of an inactive
  279. // window's title bar.
  280. public Color InactiveCaption
  281. {
  282. get { return inactiveCaption; }
  283. set { inactiveCaption = value; }
  284. }
  285. //
  286. // Summary:
  287. // Gets a System.Drawing.Color structure that is the color of the text in an
  288. // inactive window's title bar.
  289. //
  290. // Returns:
  291. // A System.Drawing.Color that is the color of the text in an inactive window's
  292. // title bar.
  293. public Color InactiveCaptionText
  294. {
  295. get { return inactiveCaptionText; }
  296. set { inactiveCaptionText = value; }
  297. }
  298. //
  299. // Summary:
  300. // Gets a System.Drawing.Color structure that is the color of the background
  301. // of a ToolTip.
  302. //
  303. // Returns:
  304. // A System.Drawing.Color that is the color of the background of a ToolTip.
  305. public Color Info
  306. {
  307. get { return info; }
  308. set { info = value; }
  309. }
  310. //
  311. // Summary:
  312. // Gets a System.Drawing.Color structure that is the color of the text of a
  313. // ToolTip.
  314. //
  315. // Returns:
  316. // A System.Drawing.Color that is the color of the text of a ToolTip.
  317. public Color InfoText
  318. {
  319. get { return infoText; }
  320. set { infoText = value; }
  321. }
  322. //
  323. // Summary:
  324. // Gets a System.Drawing.Color structure that is the color of a menu's background.
  325. //
  326. // Returns:
  327. // A System.Drawing.Color that is the color of a menu's background.
  328. public Color Menu
  329. {
  330. get { return menu; }
  331. set { menu = value; }
  332. }
  333. //
  334. // Summary:
  335. // Gets a System.Drawing.Color structure that is the color of the background
  336. // of a menu bar.
  337. //
  338. // Returns:
  339. // A System.Drawing.Color that is the color of the background of a menu bar.
  340. public Color MenuBar
  341. {
  342. get { return menuBar; }
  343. set { menuBar = value; }
  344. }
  345. //
  346. // Summary:
  347. // Gets a System.Drawing.Color structure that is the color used to highlight
  348. // menu items when the menu appears as a flat menu.
  349. //
  350. // Returns:
  351. // A System.Drawing.Color that is the color used to highlight menu items when
  352. // the menu appears as a flat menu.
  353. public Color MenuHighlight
  354. {
  355. get { return menuHighlight; }
  356. set { menuHighlight = value; }
  357. }
  358. //
  359. // Summary:
  360. // Gets a System.Drawing.Color structure that is the color of a menu's text.
  361. //
  362. // Returns:
  363. // A System.Drawing.Color that is the color of a menu's text.
  364. public Color MenuText
  365. {
  366. get { return menuText; }
  367. set { menuText = value; }
  368. }
  369. //
  370. // Summary:
  371. // Gets a System.Drawing.Color structure that is the color of the background
  372. // of a scroll bar.
  373. //
  374. // Returns:
  375. // A System.Drawing.Color that is the color of the background of a scroll bar.
  376. public Color ScrollBar
  377. {
  378. get { return scrollBar; }
  379. set { scrollBar = value; }
  380. }
  381. //
  382. // Summary:
  383. // Gets a System.Drawing.Color structure that is the color of the background
  384. // in the client area of a window.
  385. //
  386. // Returns:
  387. // A System.Drawing.Color that is the color of the background in the client
  388. // area of a window.
  389. public Color Window
  390. {
  391. get { return window; }
  392. set { window = value; }
  393. }
  394. //
  395. // Summary:
  396. // Gets a System.Drawing.Color structure that is the color of a window frame.
  397. //
  398. // Returns:
  399. // A System.Drawing.Color that is the color of a window frame.
  400. public Color WindowFrame
  401. {
  402. get { return windowFrame; }
  403. set { windowFrame = value; }
  404. }
  405. //
  406. // Summary:
  407. // Gets a System.Drawing.Color structure that is the color of the text in the
  408. // client area of a window.
  409. //
  410. // Returns:
  411. // A System.Drawing.Color that is the color of the text in the client area of
  412. // a window.
  413. public Color WindowText
  414. {
  415. get { return windowText; }
  416. set { windowText = value; }
  417. }
  418. #endregion
  419. }
  420. }

Structure et Fichiers du projet

Afficher/masquer...


Répertoires contenus dans /var/www/bin/sniplets/bibliobrol/broldev/src/view/style/ 
IcôneNomTailleModification
IcôneNomTailleModification
| _ Répertoire parent0 octets1730757160 04/11/2024 22:52:40
| _vista0 octets1541007202 31/10/2018 18:33:22
Fichiers contenus dans /var/www/bin/sniplets/bibliobrol/broldev/src/view/style/ 
IcôneNomTailleModificationAction
IcôneNomTailleModificationAction
Afficher le fichier .cs|.csOffice2007Renderer.cs58.44 Ko31/10/2018 18:33:16-refusé-
Afficher le fichier .cs|.csStyleHelper.cs1.44 Ko31/10/2018 18:33:16-refusé-
Afficher le fichier .cs|.csProfessionalColorTableFactory.cs57.94 Ko31/10/2018 18:33:16-refusé-
Afficher le fichier .cs|.csControlStyleColors.cs4.76 Ko31/10/2018 18:33:15-refusé-
Afficher le fichier .cs|.csCustomSystemColors.cs14.28 Ko31/10/2018 18:33:15-refusé-
Afficher le fichier .cs|.csStyleFactory.cs18.11 Ko31/10/2018 18:33:16-refusé-
Afficher le fichier .cs|.csRebarRenderer.cs11.97 Ko31/10/2018 18:33:16-refusé-
Afficher le fichier .cs|.csOrangeStyleColors.cs14.47 Ko31/10/2018 18:33:16-refusé-
Afficher le fichier .cs|.csOffice2007ColorTable.cs13.46 Ko31/10/2018 18:33:15-refusé-
Afficher le fichier .cs|.csXpStyle.cs1.42 Ko31/10/2018 18:33:16-refusé-
Afficher le fichier .cs|.csOffice2007Helpers.cs4.16 Ko31/10/2018 18:33:15-refusé-

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//CustomSystemColors.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.