Displays a ok-cancel window for single line.
|string||line||Single line message.|
|bool||Value that indicates whether ok-button was selected.|
bool okCancel = m.OkCancelDialog("message");
Window that is displayed is a modal window. Blocking other actions in the application until the user closes it.
Even if there is a new line in the message, it will be displayed in a single line.
If the window is closed by pressing the ok button, the return value is true. Otherwise, the return value is false.
Links for reference