Example #1
0
 private async void OnIdleTimeElapsed(object sender, ElapsedEventArgs e)
 {
     StopIdleTimer();
     await App.Current.Dispatcher.InvokeAsync(async() =>
     {
         var reviewDialog           = new ReviewDialog();
         reviewDialog.DialogResult += OnReviewDialogResult;
         await DisplayCustomDialog(reviewDialog).ConfigureAwait(false);
     });
 }
Example #2
0
    void Start()
    {
        m_UIManager = gameObject.AddComponent <UIManager>() as UIManager;
        m_UIManager.SetParameter(9, 3, false);
        m_UIManager.SetUIHandler(this);

        m_UIManager.CLEAR = false;

        reviewDialog = new ReviewDialog();

        reviewDialog.SetDialogEventHandler(this);


        m_UIManager.Add(reviewDialog);

        m_UIManager.SetUIHandler(this);


        //m_UIManager.Add(loadingPanel);
    }
Example #3
0
 private async static Task ShowReviewDialog()
 {
     ReviewDialog dialog = new ReviewDialog();
     await dialog.ShowAsync();
 }