コード例 #1
0
        public void OnDismiss(IDialogInterface dialog)
        {
            dialog.Dispose();
            Intent intent = new Intent(this, typeof(loginActivity));

            StartActivity(intent);
        }
コード例 #2
0
 public void OnDismiss(IDialogInterface dialog)
 {
     if (IsOnline())
     {
         dialog.Dispose();
         this.Finish();
         addCarToOrder.finish.Finish();
         Intent intent = new Intent(this, typeof(MainActivity));
         StartActivity(intent);
     }
     else
     {
         dialog.Dispose();
         this.Finish();
         Intent intent = new Intent(this, typeof(loginActivity));
         StartActivity(intent);
     }
 }