프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_Waiting | bool |
메소드 | 설명 | |
---|---|---|
AddRightClickMenu ( Primitive items, Primitive images ) : void |
Add a right click context menu for the GraphicsWindow.
|
|
Calendar ( Primitive start ) : Primitive |
A popup calendar date chooser - double click a date or press return to select a date.
|
|
Colour ( ) : Primitive |
Choose a colour from a dialog.
|
|
Confirm ( Primitive text, Primitive title ) : Primitive |
A message dialog with Yes, No and Cancel options.
|
|
EndWait ( ) : void |
Close the waiting popup window.
|
|
Font ( Primitive font ) : Primitive |
Use the font dialog to select a font.
|
|
GetFolder ( Primitive InitialFolder ) : Primitive |
A Dialog to get a folder (directory).
|
|
OpenFile ( Primitive extension, Primitive folder ) : Primitive |
Open File Dialogue (get an existing file).
|
|
SaveFile ( Primitive extension, Primitive folder ) : Primitive |
Save File Dialogue (get a new file).
|
|
SetStartupPosition ( Primitive x, Primitive y, Primitive mode ) : void |
Set the startup coordinates (top left) for most dialoges. This should be set before the dialog is called.
|
|
ToolTip ( Primitive shapeName, Primitive tip ) : void |
Set a tooltip popup for common shapes and controls.
|
|
Wait ( Primitive text, Primitive colour ) : void |
Create a waiting popup window with a text message.
|
|
getMenu ( BitmapSource>.Dictionary |
메소드 | 설명 | |
---|---|---|
ShowWait ( ) : void | ||
StartPosition ( System form, string title ) : void | ||
_MenuClickEvent ( Object sender, |
||
getFilter ( Primitive extension ) : string |
public static AddRightClickMenu ( Primitive items, Primitive images ) : void | ||
items | Primitive | An array of context menu item selection texts. |
images | Primitive | Optional array of image icons, any or all may be "". /// They may be the result of ImageList.LoadImage or local or network image file. |
리턴 | void |
public static Calendar ( Primitive start ) : Primitive | ||
start | Primitive | The initial date in the control, may be "" for today. |
리턴 | Primitive |
public static Confirm ( Primitive text, Primitive title ) : Primitive | ||
text | Primitive | Text question for the dialog. |
title | Primitive | Title for the dialog. |
리턴 | Primitive |
public static Font ( Primitive font ) : Primitive | ||
font | Primitive | /// An array with the initial font selected. /// It has the same format as the return array, and can be an empty array "". /// |
리턴 | Primitive |
public static GetFolder ( Primitive InitialFolder ) : Primitive | ||
InitialFolder | Primitive | The initial folder or "" for the last folder selected. |
리턴 | Primitive |
public static OpenFile ( Primitive extension, Primitive folder ) : Primitive | ||
extension | Primitive | /// The file type extension, e.g. "sb". /// This may also be an array of extension types such as "1=png;2=jpg;". /// If the extension contains a "|" character then it will be used directly such as "Images|*.bmp;*.jpg;*.gif;*.png|All files (*.*)|*.*". /// |
folder | Primitive | /// The initial folder to open dialog with, can be "". /// |
리턴 | Primitive |
public static SaveFile ( Primitive extension, Primitive folder ) : Primitive | ||
extension | Primitive | /// The file type extension, e.g. "sb". /// This may also be an array of extension types such as "1=png;2=jpg;". /// If the extension contains a "|" character then it will be used directly such as "Images|*.bmp;*.jpg;*.gif;*.png|All files (*.*)|*.*". /// |
folder | Primitive | /// The initial folder to open dialog with, can be "". /// |
리턴 | Primitive |
public static SetStartupPosition ( Primitive x, Primitive y, Primitive mode ) : void | ||
x | Primitive | The X coordinate. |
y | Primitive | The X coordinate. |
mode | Primitive | The mode which is one of the following /// 0 : Off (default) /// 1 : The coordinates are relative to the graphics window, equivalent to GraphicsWindow.MouseX/Y. /// 2 : The coordinates are relative to the display window, equivalent to Desktop.MouseX/Y |
리턴 | void |
public static ToolTip ( Primitive shapeName, Primitive tip ) : void | ||
shapeName | Primitive | The shape or control. |
tip | Primitive | The text content of the tooltip. |
리턴 | void |
public static Wait ( Primitive text, Primitive colour ) : void | ||
text | Primitive | The text to display in the popup window. |
colour | Primitive | The colour of the popup window border, may be "" for default. |
리턴 | void |
public static getMenu ( BitmapSource>.Dictionary |
||
_savedImages | BitmapSource>.Dictionary | |
items | Primitive | |
images | Primitive | |
iconSize | int | |
리턴 | System.Windows.Controls.ContextMenu |