Esempio n. 1
0
        private void onDialogOnStateChanged(OverlayContainer dialog, Visibility v)
        {
            if (v != Visibility.Hidden)
            {
                return;
            }

            //handle the dialog being dismissed.
            dialog.Delay(PopupDialog.EXIT_DURATION);
            dialog.Expire();

            if (dialog == currentDialog)
            {
                State = Visibility.Hidden;
            }
        }