C# Class WindowHelper.DockableWindowForm

Inheritance: System.Windows.Forms.UserControl
Mostrar archivo Open project: PeterHorsbollMoller/mbWindowHelper

Public Methods

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

Close the dockable usercontrol(Named view Dialog)

DockableWindowForm ( Win32Window mapInfoWindow ) : System
DockableWindowForm ( Win32Window mapInfoWindow, string name ) : System
DockableWindowForm ( Win32Window mapInfoWindow, string name, string windowTitle ) : System
GetDockWindowClosed ( ) : bool

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

SetDockPosition ( ) : void

Set the dialog position and docking state

SetDockWindowPositionFromFile ( ) : void

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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ApplyDockWindowState ( ) : void

Method for setting the docking and position of dockable window

ConfigureDockableWindow ( Win32Window mapInfoWindow, string name, string windowTitle ) : void
DockableWindowForm_Closed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
DockableWindowForm_DockChanged ( object sender, EventArgs e ) : void
DockableWindowForm_Load ( ) : void
DockableWindowForm_LocationChanged ( object sender, EventArgs e ) : void
DockableWindowForm_Resize ( object sender, EventArgs e ) : void
DockableWindow_VisibleChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

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

Activate() public method

public Activate ( ) : void
return void

Close() public method

public Close ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DockWindowChange() public method

public DockWindowChange ( ) : void
return void

DockWindowClose() public method

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

DockableWindowForm() public method

public DockableWindowForm ( Win32Window mapInfoWindow ) : System
mapInfoWindow Win32Window
return System

DockableWindowForm() public method

public DockableWindowForm ( Win32Window mapInfoWindow, string name ) : System
mapInfoWindow Win32Window
name string
return System

DockableWindowForm() public method

public DockableWindowForm ( Win32Window mapInfoWindow, string name, string windowTitle ) : System
mapInfoWindow Win32Window
name string
windowTitle string
return System

GetDockWindowClosed() public method

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

SetDockPosition() public method

Set the dialog position and docking state
public SetDockPosition ( ) : void
return void

SetDockWindowPositionFromFile() public method

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