C# Class CK.WindowManager.WindowManager

Inheritance: IWindowManager, IPlugin
Afficher le fichier Open project: Invenietis/ck-certified Class Usage Examples

Private Properties

Свойство Type Description
DispatchWhenRequired void
OnWindowGotFocusInternal void
OnWindowLocationChangedInternal void
OnWindowMinimizedInternal void
OnWindowRestoredInternal void
OnWindowSizeChangedInternal void

Méthodes publiques

Méthode Description
GetByName ( string name ) : IWindowElement
GetClientArea ( IWindowElement e ) : Rect
MinimizeAllWindows ( ) : void
Move ( IWindowElement window, double top, double left ) : IManualInteractionResult
Register ( IWindowElement windowElement ) : void
Resize ( IWindowElement window, double width, double height ) : IManualInteractionResult
RestoreAllWindows ( ) : void
Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
Start ( ) : void
Stop ( ) : void
Teardown ( ) : void
ToggleHostMinimized ( ) : void
Unregister ( IWindowElement windowElement ) : void

Méthodes protégées

Méthode Description
OnWindowGotFocus ( object sender, EventArgs e ) : void
OnWindowLocationChanged ( object sender, EventArgs e ) : void

This function is called by a function that bypasses the window system event. Warning : do not call a function that is called when a WindowMoved event that leading to a call MoveResult.Broadcast

OnWindowMinimized ( object sender, EventArgs e ) : void
OnWindowRestored ( object sender, EventArgs e ) : void
OnWindowSizeChanged ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
DispatchWhenRequired ( System.Action a ) : void
OnWindowGotFocusInternal ( object sender, EventArgs e ) : void
OnWindowLocationChangedInternal ( object sender, EventArgs e ) : void
OnWindowMinimizedInternal ( object sender, EventArgs e ) : void
OnWindowRestoredInternal ( object sender, EventArgs e ) : void
OnWindowSizeChangedInternal ( object sender, EventArgs e ) : void

Method Details

GetByName() public méthode

public GetByName ( string name ) : IWindowElement
name string
Résultat IWindowElement

GetClientArea() public méthode

public GetClientArea ( IWindowElement e ) : Rect
e IWindowElement
Résultat System.Windows.Rect

MinimizeAllWindows() public méthode

public MinimizeAllWindows ( ) : void
Résultat void

Move() public méthode

public Move ( IWindowElement window, double top, double left ) : IManualInteractionResult
window IWindowElement
top double
left double
Résultat IManualInteractionResult

OnWindowGotFocus() protected méthode

protected OnWindowGotFocus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnWindowLocationChanged() protected méthode

This function is called by a function that bypasses the window system event. Warning : do not call a function that is called when a WindowMoved event that leading to a call MoveResult.Broadcast
protected OnWindowLocationChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnWindowMinimized() protected méthode

protected OnWindowMinimized ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnWindowRestored() protected méthode

protected OnWindowRestored ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnWindowSizeChanged() protected méthode

protected OnWindowSizeChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Register() public méthode

public Register ( IWindowElement windowElement ) : void
windowElement IWindowElement
Résultat void

Resize() public méthode

public Resize ( IWindowElement window, double width, double height ) : IManualInteractionResult
window IWindowElement
width double
height double
Résultat IManualInteractionResult

RestoreAllWindows() public méthode

public RestoreAllWindows ( ) : void
Résultat void

Setup() public méthode

public Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
info CK.Plugin.IPluginSetupInfo
Résultat bool

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Teardown() public méthode

public Teardown ( ) : void
Résultat void

ToggleHostMinimized() public méthode

public ToggleHostMinimized ( ) : void
Résultat void

Unregister() public méthode

public Unregister ( IWindowElement windowElement ) : void
windowElement IWindowElement
Résultat void