프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ImmediateMenuMode | bool | ||
PromptCharacter | string |
메소드 | 설명 | |
---|---|---|
CMenu ( string selector = null, bool addDefaultItems = true ) : System |
Create a new CMenu. Iff no selector was specified, the menu will initially contain the following commands:
|
|
Execute ( string arg ) : void |
If this item gets selected in its parent menu, run it as a menu itself.
|
|
Quit ( ) : void |
Stops menu processing. Control will return to the parent menu. Processing can be restarted by calling
|
|
Run ( ) : void |
Start console prompting and processing. Immediately before processing begins, the event
|
public CMenu ( string selector = null, bool addDefaultItems = true ) : System | ||
selector | string | |
addDefaultItems | bool | |
리턴 | System |
public Execute ( string arg ) : void | ||
arg | string | /// If an additional nonnull, nonwhitespace argument is given, it will be executed /// in the local menu context immediately. /// |
리턴 | void |