コード例 #1
0
 public override void Dispose()
 {
     SubscriptionManager.Instance.SetCredentialHandler(EMediaTypes.eMediaTypePodcastSeries, null);
     if (this._inputDialog != null)
     {
         this._inputDialog.Dispose();
         this._inputDialog = null;
     }
     base.Dispose();
 }
コード例 #2
0
 private void ShowDialog(object args)
 {
     if (!Application.IsApplicationThread || !(args is SubscriptonCredentialRequestArguments))
     {
         return;
     }
     if (this._inputDialog != null)
     {
         this._inputDialog.Dispose();
         this._inputDialog = null;
     }
     this._inputDialog = new PodcastSignIn((SubscriptonCredentialRequestArguments)args, new EventHandler(OnDialogSignIn), new EventHandler(OnDialogCanceled));
     this._inputDialog.Show();
 }