예제 #1
0
        /// <summary>
        /// Creates a basic TaskDialog window
        /// </summary>
        public TaskDialog()
        {
            CoreHelpers.ThrowIfNotVista();

            // Initialize various data structs.
            controls = new DialogControlCollection <TaskDialogControl>(this);
        }
예제 #2
0
        // 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>();
        }