C# Class XCore.PaneBar

PaneBar, AKA "information bar"
Inheritance: System.Windows.Forms.UserControl, IPaneBar, IxCoreColleague
Datei anzeigen Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
AddGroup ( XCore group ) : void

GetMessageTargets ( ) : IxCoreColleague[]

return an array of all of the objects which should 1) be queried when looking for someone to deliver a message to 2) be potential recipients of a broadcast

Init ( IImageCollection smallImages, IUIMenuAdapter menuBarAdapter, XCore.Mediator mediator ) : void

Init ( ImageCollection smallImages, IUIMenuAdapter menuBarAdapter, XCore.Mediator mediator ) : void

Init ( XCore.Mediator mediator, System config ) : void

OnPropertyChanged ( string name ) : void

XCore will call us whenever a property has changed.

PaneBar ( ) : System
RefreshPane ( ) : void

Protected Methods

Method Description
AddMenu ( XCore choice ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddHotlink ( XCore choice ) : void
AddMenu ( XCore.ChoiceGroup choice ) : void
ClearMainPanelControls ( ) : void
GetOptionalMenuAlignment ( XCore.ChoiceRelatedClass choice ) : bool

Get the optional 'alignment' attribute from config XML. Returns true if we want 'normal' left justification. Returns false if we want right-ish justification.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

WatchPropertyOfButton ( PanelButton button ) : void

Method Details

AddGroup() public method

public AddGroup ( XCore group ) : void
group XCore
return void

AddMenu() protected method

protected AddMenu ( XCore choice ) : void
choice XCore
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

GetMessageTargets() public method

return an array of all of the objects which should 1) be queried when looking for someone to deliver a message to 2) be potential recipients of a broadcast
public GetMessageTargets ( ) : IxCoreColleague[]
return IxCoreColleague[]

Init() public method

public Init ( IImageCollection smallImages, IUIMenuAdapter menuBarAdapter, XCore.Mediator mediator ) : void
smallImages IImageCollection
menuBarAdapter IUIMenuAdapter
mediator XCore.Mediator
return void

Init() public method

public Init ( ImageCollection smallImages, IUIMenuAdapter menuBarAdapter, XCore.Mediator mediator ) : void
smallImages ImageCollection
menuBarAdapter IUIMenuAdapter
mediator XCore.Mediator
return void

Init() public method

public Init ( XCore.Mediator mediator, System config ) : void
mediator XCore.Mediator
config System
return void

OnPropertyChanged() public method

XCore will call us whenever a property has changed.
public OnPropertyChanged ( string name ) : void
name string
return void

PaneBar() public method

public PaneBar ( ) : System
return System

RefreshPane() public method

public RefreshPane ( ) : void
return void