Beispiel #1
0
			public AlertButton GenericAlert (MessageDescription message)
			{
				var dialog = new AlertDialog (message);
				OnPopupDialog (EventArgs.Empty);
				return dialog.Run ();
			}
			public AlertButton GenericAlert (MessageDescription message)
			{
				var dialog = new AlertDialog (message);
				return dialog.Run ();
			}
			public AlertButton GenericAlert (MessageDescription message)
			{
				if (message.ApplyToAllButton != null)
					return message.ApplyToAllButton;
				AlertDialog alertDialog = new AlertDialog (message);
				alertDialog.FocusButton (message.DefaultButton);
				ShowCustomDialog (alertDialog);
				if (alertDialog.ApplyToAll)
					message.ApplyToAllButton = alertDialog.ResultButton;
				return alertDialog.ResultButton;
			}