Esempio n. 1
0
 public void OnClick(IDialogInterface dialog, int which)
 {
     dialog.Cancel();
     if (what)
     {
         Uri    packageURI = Uri.Parse("package:" + mcontext.PackageName);
         Intent intent     = new Intent(Settings.ActionManageUnknownAppSources, packageURI);
         ((Activity)mcontext).StartActivityForResult(intent, 1);
     }
 }
 public bool OnKey(IDialogInterface dialog, [GeneratedEnum] Keycode keyCode, KeyEvent e)
 {
     if (keyCode == Keycode.Back)
     {
         if (!_isLockByBack)
         {
             dialog.Cancel();
             return(false);
         }
         else
         {
             return(true);
         }
     }
     return(false);
 }
 public void OnClick(IDialogInterface dialog, int which)
 {
     dialog.Cancel();
 }
 public void OnClick(IDialogInterface dialog, int which)
 {
     dialog.Cancel();
 }
Esempio n. 5
0
 public void OnClick(IDialogInterface dialog, int which)
 {
     dialog.Cancel();
     task.IsCancel = true;
     task.Cancel(true);
 }