C# Class Windawesome.Bar

Inheritance: IBar
Afficher le fichier Open project: kocubinski/windawesome Class Usage Examples

Private Properties

Свойство Type Description
CreateForm NonActivatableForm
DoBarHidden void
DoBarShown void
IBar void
IBar void
IBar void
OnFixedWidthWidgetWidthChanged void
OnSpanWidgetControlsAdded void
OnSpanWidgetControlsRemoved void
OnWidgetControlsChanged void
RepositionLeftAlignedWidgets void
RepositionMiddleAlignedWidgets void
RepositionRightAlignedWidgets void
ResizeWidgets void
ResizeWidgets void

Méthodes publiques

Méthode Description
Bar ( Windawesome.Monitor monitor, IEnumerable leftAlignedWidgets, IEnumerable rightAlignedWidgets, IEnumerable middleAlignedWidgets, int barHeight = 20, Font font = null, Color backgroundColor = null ) : System
CreateLabel ( string text, int xLocation, int width = -1 ) : Label
DoFixedWidthWidgetWidthChanged ( IFixedWidthWidget widget ) : void
DoSpanWidgetControlsAdded ( ISpanWidget widget, IEnumerable controls ) : void
DoSpanWidgetControlsRemoved ( ISpanWidget widget, IEnumerable controls ) : void
DoWidgetControlsChanged ( IWidget widget, IEnumerable controlsRemoved, IEnumerable controlsAdded ) : void
Equals ( object obj ) : bool
GetBarHeight ( ) : int
GetHashCode ( ) : int

Private Methods

Méthode Description
CreateForm ( ) : NonActivatableForm
DoBarHidden ( ) : void
DoBarShown ( ) : void
IBar ( ) : void
IBar ( Windawesome windawesome ) : void
IBar ( int newWidth ) : void
OnFixedWidthWidgetWidthChanged ( IFixedWidthWidget widget ) : void
OnSpanWidgetControlsAdded ( ISpanWidget widget, IEnumerable controls ) : void
OnSpanWidgetControlsRemoved ( ISpanWidget widget, IEnumerable controls ) : void
OnWidgetControlsChanged ( IWidget widget, IEnumerable controlsRemoved, IEnumerable controlsAdded ) : void
RepositionLeftAlignedWidgets ( int fromIndex, int fromX ) : void
RepositionMiddleAlignedWidgets ( ) : void
RepositionRightAlignedWidgets ( int fromIndex, int toX ) : void
ResizeWidgets ( IFixedWidthWidget widget ) : void
ResizeWidgets ( int newWidth ) : void

Method Details

Bar() public méthode

public Bar ( Windawesome.Monitor monitor, IEnumerable leftAlignedWidgets, IEnumerable rightAlignedWidgets, IEnumerable middleAlignedWidgets, int barHeight = 20, Font font = null, Color backgroundColor = null ) : System
monitor Windawesome.Monitor
leftAlignedWidgets IEnumerable
rightAlignedWidgets IEnumerable
middleAlignedWidgets IEnumerable
barHeight int
font System.Drawing.Font
backgroundColor Color
Résultat System

CreateLabel() public méthode

public CreateLabel ( string text, int xLocation, int width = -1 ) : Label
text string
xLocation int
width int
Résultat System.Windows.Forms.Label

DoFixedWidthWidgetWidthChanged() public méthode

public DoFixedWidthWidgetWidthChanged ( IFixedWidthWidget widget ) : void
widget IFixedWidthWidget
Résultat void

DoSpanWidgetControlsAdded() public méthode

public DoSpanWidgetControlsAdded ( ISpanWidget widget, IEnumerable controls ) : void
widget ISpanWidget
controls IEnumerable
Résultat void

DoSpanWidgetControlsRemoved() public méthode

public DoSpanWidgetControlsRemoved ( ISpanWidget widget, IEnumerable controls ) : void
widget ISpanWidget
controls IEnumerable
Résultat void

DoWidgetControlsChanged() public méthode

public DoWidgetControlsChanged ( IWidget widget, IEnumerable controlsRemoved, IEnumerable controlsAdded ) : void
widget IWidget
controlsRemoved IEnumerable
controlsAdded IEnumerable
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetBarHeight() public méthode

public GetBarHeight ( ) : int
Résultat int

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int