C# Класс WindowHelper.Controller

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetWindowWrapper ( int hMainWnd ) : System.Windows.Forms.WindowWrapper

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

Описание методов

GetResItemStr() публичный статический Метод

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
Результат string

GetResItemStr() публичный статический Метод

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
Результат string

GetScreenSize() публичный статический Метод

public static GetScreenSize ( ) : string
Результат string

WinHelpDlgAddAllWindows() публичный статический Метод

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
Результат void

WinHelpDlgAddClosedWindow() публичный статический Метод

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
Результат void

WinHelpDlgAddWindow() публичный статический Метод

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
Результат void

WinHelpDlgAddWindows() публичный статический Метод

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
Результат void

WinHelpDlgClose() публичный статический Метод

This function is called to close the WindowHelper dialog and release the resources when the end handeler is called
public static WinHelpDlgClose ( ) : void
Результат void

WinHelpDlgLoadSpecialWindows() публичный статический Метод

This function is called from MapBasic code to add the special windows to the WindowHelper dialog.
public static WinHelpDlgLoadSpecialWindows ( int hMainWnd ) : void
hMainWnd int
Результат void

WinHelpDlgShow() публичный статический Метод

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
Результат void

WinHelpDlgWinChanged() публичный статический Метод

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
Результат void

WinHelpDlgWinClosed() публичный статический Метод

This function is called from MapBasic code when a window is closed in MapInfo Pro
public static WinHelpDlgWinClosed ( int windowID ) : void
windowID int
Результат void

WinHelpDlgWinFocusChanged() публичный статический Метод

This function is called from MapBasic code when another window gets focus in MapInfo Pro
public static WinHelpDlgWinFocusChanged ( int windowID ) : void
windowID int
Результат void