C# Class WindowHelper.Controller

Afficher le fichier Open project: PeterHorsbollMoller/mbWindowHelper

Méthodes publiques

Méthode Description
GetResItemStr ( string itemName ) : string

This is called from MapBasic code to get a named resource string

GetResItemStr ( string itemName, string replaceStrings ) : string

This is called from MapBasic code to get a named resource string and to replace {0}, {1}, etc. with values in the replaceString (; separated)

GetScreenSize ( ) : string

WinHelpDlgAddAllWindows ( int hMainWnd, int windowIDs, string windowNames, int windowTypes ) : void

This function is called from MapBasic code to add all windows to the WindowHelper dialog.

WinHelpDlgAddClosedWindow ( int hMainWnd, int windowID, string windowName, int windowType ) : void

This function is called from MapBasic code to add a closed window to the WindowHelper dialog.

WinHelpDlgAddWindow ( int hMainWnd, int windowID, string windowName, int windowType ) : void

This function is called from MapBasic code to add a window to the WindowHelper dialog.

WinHelpDlgAddWindows ( int hMainWnd, int windowIDs, string windowName, int windowType ) : void

This function is called from MapBasic code to add a window to the WindowHelper dialog.

WinHelpDlgClose ( ) : void

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

WinHelpDlgLoadSpecialWindows ( int hMainWnd ) : void

This function is called from MapBasic code to add the special windows to the WindowHelper dialog.

WinHelpDlgShow ( int hMainWnd ) : void

This is called from MapBasic code to get a named resource string

This function is called from MapBasic code to display the WindowHelper dialog.

WinHelpDlgWinChanged ( int windowID ) : void

This function is called from MapBasic code when a window is changed in some way in MapInfo Pro

WinHelpDlgWinClosed ( int windowID ) : void

This function is called from MapBasic code when a window is closed in MapInfo Pro

WinHelpDlgWinFocusChanged ( int windowID ) : void

This function is called from MapBasic code when another window gets focus in MapInfo Pro

Private Methods

Méthode Description
GetWindowWrapper ( int hMainWnd ) : System.Windows.Forms.WindowWrapper

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

Method Details

GetResItemStr() public static méthode

This is called from MapBasic code to get a named resource string
public static GetResItemStr ( string itemName ) : string
itemName string Title of the string resource
Résultat string

GetResItemStr() public static méthode

This is called from MapBasic code to get a named resource string and to replace {0}, {1}, etc. with values in the replaceString (; separated)
public static GetResItemStr ( string itemName, string replaceStrings ) : string
itemName string Title of the string resource
replaceStrings string List of values to insert into the string, ; separated
Résultat string

GetScreenSize() public static méthode

public static GetScreenSize ( ) : string
Résultat string

WinHelpDlgAddAllWindows() public static méthode

This function is called from MapBasic code to add all windows to the WindowHelper dialog.
public static WinHelpDlgAddAllWindows ( int hMainWnd, int windowIDs, string windowNames, int windowTypes ) : void
hMainWnd int
windowIDs int
windowNames string
windowTypes int
Résultat void

WinHelpDlgAddClosedWindow() public static méthode

This function is called from MapBasic code to add a closed window to the WindowHelper dialog.
public static WinHelpDlgAddClosedWindow ( int hMainWnd, int windowID, string windowName, int windowType ) : void
hMainWnd int
windowID int
windowName string
windowType int
Résultat void

WinHelpDlgAddWindow() public static méthode

This function is called from MapBasic code to add a window to the WindowHelper dialog.
public static WinHelpDlgAddWindow ( int hMainWnd, int windowID, string windowName, int windowType ) : void
hMainWnd int
windowID int
windowName string
windowType int
Résultat void

WinHelpDlgAddWindows() public static méthode

This function is called from MapBasic code to add a window to the WindowHelper dialog.
public static WinHelpDlgAddWindows ( int hMainWnd, int windowIDs, string windowName, int windowType ) : void
hMainWnd int
windowIDs int
windowName string
windowType int
Résultat void

WinHelpDlgClose() public static méthode

This function is called to close the WindowHelper dialog and release the resources when the end handeler is called
public static WinHelpDlgClose ( ) : void
Résultat void

WinHelpDlgLoadSpecialWindows() public static méthode

This function is called from MapBasic code to add the special windows to the WindowHelper dialog.
public static WinHelpDlgLoadSpecialWindows ( int hMainWnd ) : void
hMainWnd int
Résultat void

WinHelpDlgShow() public static méthode

This is called from MapBasic code to get a named resource string This function is called from MapBasic code to display the WindowHelper dialog.
public static WinHelpDlgShow ( int hMainWnd ) : void
hMainWnd int
Résultat void

WinHelpDlgWinChanged() public static méthode

This function is called from MapBasic code when a window is changed in some way in MapInfo Pro
public static WinHelpDlgWinChanged ( int windowID ) : void
windowID int
Résultat void

WinHelpDlgWinClosed() public static méthode

This function is called from MapBasic code when a window is closed in MapInfo Pro
public static WinHelpDlgWinClosed ( int windowID ) : void
windowID int
Résultat void

WinHelpDlgWinFocusChanged() public static méthode

This function is called from MapBasic code when another window gets focus in MapInfo Pro
public static WinHelpDlgWinFocusChanged ( int windowID ) : void
windowID int
Résultat void