/// <summary> /// Creates a basic TaskDialog window /// </summary> public TaskDialog() { CoreHelpers.ThrowIfNotVista(); // Initialize various data structs. controls = new DialogControlCollection <TaskDialogControl>(this); }
// Constructors. /// <summary> /// Creates a basic TaskDialog window /// </summary> public TaskDialog() { // Throw PlatformNotSupportedException if the user is not running Vista or beyond CoreHelpers.ThrowIfNotVista(); // Initialize various data structs. controls = new DialogControlCollection <TaskDialogControl>(this); buttons = new List <TaskDialogButtonBase>(); radioButtons = new List <TaskDialogButtonBase>(); commandLinks = new List <TaskDialogButtonBase>(); }