C# Class WindowHelper.WindowHelperForm

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

Méthodes publiques

Méthode Description
AddToClosedWindowList ( int windowID, string windowName, int windowType ) : void
AddToOrUpdateInWindowLists ( int windowID, string windowName, int windowType ) : void
AutolockWindow ( int windowID ) : void
Close ( ) : void
CreateWindowList ( int windowIDs, string windowNames, int windowTypes ) : void
DockWindowChange ( ) : void
DockWindowClose ( ) : void

Close the dockable usercontrol(Named view Dialog)

GetDockWindowClosed ( ) : bool

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

LoadSpecialWindows ( ) : void
RefreshClosedWindowsList ( ) : void
RefreshWindowsList ( ) : void
RemoveFromAllWindowsLists ( int windowID ) : void
ResetActiveWindow ( ) : void
SetActiveWindow ( int windowID ) : void
SetDockPosition ( ) : void

Set the dialog position and docking state

SetDockWindowPositionFromFile ( ) : void

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

StoreDockedSpecialWindows ( ) : void
WindowHelperForm ( string title ) : System
ZoomNextAndPreviousAddExtent ( int windowID ) : void
ZoomNextAndPreviousAddWindow ( int windowID ) : void
ZoomNextAndPreviousRemoveWindow ( int windowID ) : void
ZoomNextAndPreviousZoomToFirst ( ) : void
ZoomNextAndPreviousZoomToLast ( ) : void
ZoomNextAndPreviousZoomToNext ( ) : void
ZoomNextAndPreviousZoomToPrevious ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
AddToOrUpdateInWindowLists ( Windows window ) : bool
AddToWindowLists ( Windows window ) : void
AddTooltips ( ) : void
ApplyDockWindowState ( ) : void

Method for setting the docking and position of dockable window

GetWindowIndex ( Windows windowsList, Windows windowToLocate ) : int
InitializeComponent ( ) : void

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

IsNodeABrowserWindow ( TreeNode node ) : bool
IsNodeAClosedWindow ( TreeNode node ) : bool
IsNodeAGraphWindow ( TreeNode node ) : bool
IsNodeALayoutWindow ( TreeNode node ) : bool
IsNodeAMapperWindow ( TreeNode node ) : bool
IsNodeAWindow ( TreeNode node ) : bool
LoadDockWindowStateFromFile ( ) : void

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

RemoveFromWindowList ( Windows windowsList, Windows windowToRemove ) : void
SetDefaultDockingInfo ( ) : void

Method for setting some resaonable position/ docked state

UpdateInWindowList ( Windows windowList, Windows window ) : bool
UpdateInWindowLists ( Windows window ) : bool
UpdateWindowsButtons ( ) : void
UpdateWindowsButtons ( TreeNode node ) : void
WindowHelperForm_DockChanged ( object sender, EventArgs e ) : void
WindowHelperForm_LocationChanged ( object sender, EventArgs e ) : void
WriteDockWindowStateToFile ( ) : void

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

_ModifyWindow ( Windows window ) : void
_ModifyWindowUsingTreeNode ( TreeNode node ) : void
_buttonCloneWindow_Click ( object sender, EventArgs e ) : void
_buttonCloseWindow_Click ( object sender, EventArgs e ) : void
_buttonCurrentMakeDockable_Click ( object sender, EventArgs e ) : void
_buttonCurrentOptions_Click ( object sender, EventArgs e ) : void
_buttonLockWindow_Click ( object sender, EventArgs e ) : void
_buttonMakeDockable_Click ( object sender, EventArgs e ) : void
_buttonRestoreWindow_Click ( object sender, EventArgs e ) : void
_buttonUnlockWindow_Click ( object sender, EventArgs e ) : void
_buttonZoomToFirst_Click ( object sender, EventArgs e ) : void
_buttonZoomToLast_Click ( object sender, EventArgs e ) : void
_buttonZoomToNext_Click ( object sender, EventArgs e ) : void
_buttonZoomToPrevious_Click ( object sender, EventArgs e ) : void
_checkBoxAutolockWindows_CheckedChanged ( object sender, EventArgs e ) : void
_treeViewSpecialWindows_NodeMouseClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
_treeViewSpecialWindows_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
_treeViewWindows_NodeMouseClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
_treeViewWindows_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
_treeviewClosedWindows_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
getDockWindowState ( ) : DockWindowState

Method for getting the Docking state related information

Method Details

AddToClosedWindowList() public méthode

public AddToClosedWindowList ( int windowID, string windowName, int windowType ) : void
windowID int
windowName string
windowType int
Résultat void

AddToOrUpdateInWindowLists() public méthode

public AddToOrUpdateInWindowLists ( int windowID, string windowName, int windowType ) : void
windowID int
windowName string
windowType int
Résultat void

AutolockWindow() public méthode

public AutolockWindow ( int windowID ) : void
windowID int
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CreateWindowList() public méthode

public CreateWindowList ( int windowIDs, string windowNames, int windowTypes ) : void
windowIDs int
windowNames string
windowTypes int
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

GetDockWindowClosed() public méthode

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

LoadSpecialWindows() public méthode

public LoadSpecialWindows ( ) : void
Résultat void

RefreshClosedWindowsList() public méthode

public RefreshClosedWindowsList ( ) : void
Résultat void

RefreshWindowsList() public méthode

public RefreshWindowsList ( ) : void
Résultat void

RemoveFromAllWindowsLists() public méthode

public RemoveFromAllWindowsLists ( int windowID ) : void
windowID int
Résultat void

ResetActiveWindow() public méthode

public ResetActiveWindow ( ) : void
Résultat void

SetActiveWindow() public méthode

public SetActiveWindow ( int windowID ) : void
windowID int
Résultat void

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

StoreDockedSpecialWindows() public méthode

public StoreDockedSpecialWindows ( ) : void
Résultat void

WindowHelperForm() public méthode

public WindowHelperForm ( string title ) : System
title string
Résultat System

ZoomNextAndPreviousAddExtent() public méthode

public ZoomNextAndPreviousAddExtent ( int windowID ) : void
windowID int
Résultat void

ZoomNextAndPreviousAddWindow() public méthode

public ZoomNextAndPreviousAddWindow ( int windowID ) : void
windowID int
Résultat void

ZoomNextAndPreviousRemoveWindow() public méthode

public ZoomNextAndPreviousRemoveWindow ( int windowID ) : void
windowID int
Résultat void

ZoomNextAndPreviousZoomToFirst() public méthode

public ZoomNextAndPreviousZoomToFirst ( ) : void
Résultat void

ZoomNextAndPreviousZoomToLast() public méthode

public ZoomNextAndPreviousZoomToLast ( ) : void
Résultat void

ZoomNextAndPreviousZoomToNext() public méthode

public ZoomNextAndPreviousZoomToNext ( ) : void
Résultat void

ZoomNextAndPreviousZoomToPrevious() public méthode

public ZoomNextAndPreviousZoomToPrevious ( ) : void
Résultat void