public virtual void ShowAlert(ShowAlertDelegate showAlertDelegate, string title, string message, string viewButtonText, string cancelButtonText)
 {
     if (mShowAlertDelegate == null)
     {
         mShowAlertDelegate = showAlertDelegate;
     }
 }
        protected void OnAlertViewDismissed(string message)
        {
            if (mShowAlertDelegate != null)
            {
                int          num          = Convert.ToInt32(message);
                ALERT_OPTION aLERT_OPTION = ALERT_OPTION.NONE;
                switch (num)
                {
                case 0:
                    aLERT_OPTION = ALERT_OPTION.CANCEL;
                    break;

                case 1:
                    aLERT_OPTION = ALERT_OPTION.OK;
                    break;

                default:
                    aLERT_OPTION = ALERT_OPTION.CANCEL;
                    break;
                }
                mShowAlertDelegate(aLERT_OPTION);
            }
            mShowAlertDelegate = null;
        }
 public override void ShowAlert(ShowAlertDelegate showAlertDelegate, string title, string message, string viewButtonText, string cancelButtonText)
 {
     base.ShowAlert(showAlertDelegate, title, message, viewButtonText, cancelButtonText);
 }
 public virtual void ShowAlert(ShowAlertDelegate showAlertDelegate, string message, string viewButtonText, string cancelButtonText)
 {
     ShowAlert(showAlertDelegate, "", message, viewButtonText, cancelButtonText);
 }