C# Class WindowHelper.MapBasicWindowController

Show file Open project: PeterHorsbollMoller/mbWindowHelper Class Usage Examples

Public Methods

Method Description
DockWindowChange ( ) : void
DockWindowClose ( ) : void

Close the dockable usercontrol(Named view Dialog)

GetDockWindowClosed ( ) : bool

get the open/close status of dockable user control(WindowHelper dialog)

MapBasicWindowClose ( ) : void

This function is called to close the WindowHelper dialog and release the resources when the end handeler is called

MapBasicWindowController ( ) : System

Construction

MapBasicWindowShow ( ) : void
SetDockWindowPositionFromFile ( ) : void

Method for Setting the Docking state from xml file containg docking persistance information

Private Methods

Method Description
ApplyDockWindowState ( ) : void

Method for setting the docking and position of dockable window

GetWindowWrapper ( int hMainWnd ) : System.Windows.Forms.WindowWrapper

Returns the window wrapper. If window wrapper is null it correctly initializes the static member

LoadDockWindowStateFromFile ( ) : void

Load the dock window state from the xml file It uses mutexes to synchronize the threads accessing the xml file

SetDefaultDockingInfo ( ) : void

Method for setting some resaonable position/ docked state

WriteDockWindowStateToFile ( ) : void

Write the dock window state to file It uses mutexes to synchronize the threads accessing the xml file

getDockWindowState ( ) : DockWindowState

Method for getting the Docking state related information

Method Details

DockWindowChange() public method

public DockWindowChange ( ) : void
return void

DockWindowClose() public method

Close the dockable usercontrol(Named view Dialog)
public DockWindowClose ( ) : void
return void

GetDockWindowClosed() public method

get the open/close status of dockable user control(WindowHelper dialog)
public GetDockWindowClosed ( ) : bool
return bool

MapBasicWindowClose() public static method

This function is called to close the WindowHelper dialog and release the resources when the end handeler is called
public static MapBasicWindowClose ( ) : void
return void

MapBasicWindowController() public method

Construction
public MapBasicWindowController ( ) : System
return System

MapBasicWindowShow() public static method

public static MapBasicWindowShow ( ) : void
return void

SetDockWindowPositionFromFile() public method

Method for Setting the Docking state from xml file containg docking persistance information
public SetDockWindowPositionFromFile ( ) : void
return void