UIDispatcher
小于 1 分钟
UIDispatcher
AddWindow(props, children)
Accepts a dictionary of properties and a list of children, returns a Window object
AddDialog(props, children)
Accepts a dictionary of properties and a list of children, returns a Dialog object
int RunLoop()
Call when your window is ready to receive user clicks and other events
ExitLoop(int)
Terminates the event processing, and returns any supplied exit code from RunLoop()