Esempio n. 1
0
        /// <summary>
        /// Constructor lets the caller specify whether to include the standard
        /// "A=ok, B=cancel" usage text prompt.
        /// </summary>
        public MessageBoxScreen(string message, MsgBoxOptions _options)
        {
            IsPopup = true;
            msg     = message;

            TransitionOnTime  = TimeSpan.FromSeconds(0.2);
            TransitionOffTime = TimeSpan.FromSeconds(0.2);
            options           = _options;
        }
Esempio n. 2
0
        /// <summary>
        /// Constructor lets the caller specify whether to include the standard
        /// "A=ok, B=cancel" usage text prompt.
        /// </summary>
        public MessageBoxScreen(string message)
        {
            IsPopup = true;
            msg     = message;

            TransitionOnTime  = TimeSpan.FromSeconds(0.2);
            TransitionOffTime = TimeSpan.FromSeconds(0.2);
            options           = MsgBoxOptions.boxOkCancel;
        }