RDialogBox class
public sealed class RDialogBox : WindowThe window of RDialog: sign, text, an optional control under the text, buttons on the right. Built by RDialog; build it directly to put something else under the text, then RDialog.Show.
Constructors
RDialogBox(RDialogKind kind, string title, string text, Control extra, params string[] buttons)A dialog of the kind, with a title, a text, a control under it (or null) and the buttons.
Properties
int Answer { get; }The index of the button pressed (−1: none, Esc, closed).
TextBox Input { get; set; }The text box of Ask (null in the others): it gets the focus.
Control Body { get; }What the window shows, sign, text and buttons (for a figure).
IReadOnlyList<Button> Buttons { get; }The buttons, in the order given.
Methods
void Pick(int index)Presses a button, as a click does: the dialog closes with its index.