コード例 #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);
     });
 }
コード例 #2
0
ファイル: ReviewDialogUI.cs プロジェクト: kidundead/ow
    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);
    }
コード例 #3
0
 private async static Task ShowReviewDialog()
 {
     ReviewDialog dialog = new ReviewDialog();
     await dialog.ShowAsync();
 }