C# Class IBE.GUIColors

Exibir arquivo Open project: Duke-Jones/ED-IBE Class Usage Examples

Public Methods

Method Description
GUIColors ( ) : System
GetColor ( ColorNames currentColor ) : Color

gets the color for a colorname

ResetColors ( ) : void

resets all colors the the default values

SetColor ( ColorNames currentColor, Color colorValue ) : void

sets the color for a colorname

Private Methods

Method Description
SetColorToObject ( Control guiObject, ColorNames forecolorName, ColorNames backcolorName, bool recursive = true ) : void

sets colors to a control and optional to it's subcontrols

SetColorToObjectExtracted ( Control guiObject, Color foreColor, Color backColor, System.Boolean recursive, System.Boolean guiReset ) : void

recursive worker for setting colors

Method Details

GUIColors() public method

public GUIColors ( ) : System
return System

GetColor() public method

gets the color for a colorname
public GetColor ( ColorNames currentColor ) : Color
currentColor ColorNames
return Color

ResetColors() public method

resets all colors the the default values
public ResetColors ( ) : void
return void

SetColor() public method

sets the color for a colorname
public SetColor ( ColorNames currentColor, Color colorValue ) : void
currentColor ColorNames
colorValue Color
return void