예제 #1
0
        /// <summary>
        /// Shows the dialog overlay.
        /// </summary>
        private void ShowDialogOverlay()
        {
            var overlay = OverlayNavigator.Show <DialogOverlay>();

            // Hide the pause overlay when the dialog closes.
            overlay.OnHide += OnDialogOverlayHide;

            dialogModel = overlay.Model;
        }
예제 #2
0
        protected override void OnPreHide()
        {
            base.OnPreHide();

            dialogModel = null;
        }