C# Class WindowHelper.DockableWindowForm

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: PeterHorsbollMoller/mbWindowHelper

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

public Activate ( ) : void
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() protected méthode

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

DockWindowChange() public méthode

public DockWindowChange ( ) : void
Résultat void

DockWindowClose() public méthode

Close the dockable usercontrol(Named view Dialog)
public DockWindowClose ( ) : void
Résultat void

DockableWindowForm() public méthode

public DockableWindowForm ( Win32Window mapInfoWindow ) : System
mapInfoWindow Win32Window
Résultat System

DockableWindowForm() public méthode

public DockableWindowForm ( Win32Window mapInfoWindow, string name ) : System
mapInfoWindow Win32Window
name string
Résultat System

DockableWindowForm() public méthode

public DockableWindowForm ( Win32Window mapInfoWindow, string name, string windowTitle ) : System
mapInfoWindow Win32Window
name string
windowTitle string
Résultat System

GetDockWindowClosed() public méthode

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

SetDockPosition() public méthode

Set the dialog position and docking state
public SetDockPosition ( ) : void
Résultat void

SetDockWindowPositionFromFile() public méthode

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