Exemplo n.º 1
0
            public void OnCancel(Android.Content.IDialogInterface dialog)
            {
                var h = Handler;

                if (h != null)
                {
                    h(dialog, new EventArgs());
                }
            }
Exemplo n.º 2
0
            public void OnClick(Android.Content.IDialogInterface dialog, int which, bool isChecked)
            {
                var h = Handler;

                if (h != null)
                {
                    h(dialog, new Android.Content.DialogMultiChoiceClickEventArgs(which, isChecked));
                }
            }
Exemplo n.º 3
0
            public void OnClick(Android.Content.IDialogInterface dialog, int which)
            {
                var h = Handler;

                if (h != null)
                {
                    h(dialog, new Android.Content.DialogClickEventArgs(which));
                }
            }
Exemplo n.º 4
0
        public override void OnDismiss(Android.Content.IDialogInterface dialog)
        {
            base.OnDismiss(dialog);

            if (SendData.showType1.type != null || SendData.showType2.type != null)
            {
                Toast.MakeText(owner, SendData.showType1.type.type, ToastLength.Short).Show();
                Toast.MakeText(owner, SendData.showType2.type.type, ToastLength.Short).Show();
            }
        }
Exemplo n.º 5
0
        public override void OnDismiss(Android.Content.IDialogInterface dialog)
        {
            base.OnDismiss(dialog);

            if (check.Checked)
            {
                SaveController.GetSaveController().SetSavedHelp("Stop");
                SendData.showHelp = false;
            }
            else
            {
                SaveController.GetSaveController().SetSavedHelp("Show");
                SendData.showHelp = true;
            }
        }
Exemplo n.º 6
0
 public void OnDismiss(Android.Content.IDialogInterface dialog)
 {
     this.action();
 }
Exemplo n.º 7
0
        public override void OnCancel(Android.Content.IDialogInterface dialog)
        {
            CloseDialog(this, EventArgs.Empty);

            base.OnCancel(dialog);
        }