Example #1
0
        /// <summary>
        /// Constructor lets the caller specify whether to include the standard
        /// "A=ok, B=cancel" usage text prompt.
        /// </summary>
        public vxDialogBase(string Title, vxEnumButtonTypes ButtonTypes)
        {
            this.Title = Title;

            this.ButtonTypes = ButtonTypes;

            IsPopup = true;

            TransitionOnTime  = TimeSpan.FromSeconds(0.2);
            TransitionOffTime = TimeSpan.FromSeconds(0.2);
        }
Example #2
0
        public vxMessageBox(string message, string title, vxEnumButtonTypes ButtonTypes)
        {
            this.message = message;

            Title = title;

            IsPopup = true;

            TransitionOnTime  = TimeSpan.FromSeconds(0.2);
            TransitionOffTime = TimeSpan.FromSeconds(0.2);

            this.ButtonTypes = ButtonTypes;
        }