C# Class CK.WindowManager.UnbindButtonManager

Inheritance: IPlugin, IUnbindButtonManager
显示文件 Open project: Invenietis/ck-certified

Private Properties

Property Type Description
CleanUnbindButtonContainers void
CreateButton void
CreateVM VMUnbindButton
DoPlaceButtons void
EnableUnbindButtons void
FillContainers void
GetOppositePosition BindingPosition
HideButtons void
InitializeButton WindowElement
OnAfterBinding void
OnPointerButtonUp void
OnWindowManagerWindowMoved void
OnWindowManagerWindowResized void
OnWindowMinimized void
OnWindowRestored void
RemoveButton void
_timer_Tick void

Public Methods

Method Description
GetPositionOfCommonButton ( IWindowElement master, IWindowElement slave ) : BindingPosition
Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
Start ( ) : void
Stop ( ) : void
Teardown ( ) : void

Private Methods

Method Description
CleanUnbindButtonContainers ( IWindowElement window ) : void
CreateButton ( IWindowElement master, IWindowElement slave, BindingPosition position ) : void
CreateVM ( IWindowElement window, IWindowElement other, BindingPosition position ) : VMUnbindButton
DoPlaceButtons ( IWindowElement button, IWindowElement window, BindingPosition position ) : void
EnableUnbindButtons ( ) : void
FillContainers ( IWindowElement master, IWindowElement slave, BindingPosition position ) : void
GetOppositePosition ( BindingPosition position ) : BindingPosition
HideButtons ( IWindowElement window ) : void
InitializeButton ( IWindowElement window, IWindowElement other, BindingPosition position ) : WindowElement
OnAfterBinding ( object sender, WindowBindedEventArgs e ) : void
OnPointerButtonUp ( object sender, PointerDeviceEventArgs e ) : void
OnWindowManagerWindowMoved ( object sender, WindowElementLocationEventArgs e ) : void
OnWindowManagerWindowResized ( object sender, WindowElementResizeEventArgs e ) : void
OnWindowMinimized ( object sender, WindowElementEventArgs e ) : void
OnWindowRestored ( object sender, WindowElementEventArgs e ) : void
RemoveButton ( IWindowElement master, IWindowElement slave ) : void
_timer_Tick ( object sender, EventArgs e ) : void

Method Details

GetPositionOfCommonButton() public method

public GetPositionOfCommonButton ( IWindowElement master, IWindowElement slave ) : BindingPosition
master IWindowElement
slave IWindowElement
return BindingPosition

Setup() public method

public Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
info CK.Plugin.IPluginSetupInfo
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Teardown() public method

public Teardown ( ) : void
return void