public void OnSuccess(SuccessEventArgs e)
        {
            SuccessEventHandler handler = SuccessEvent;

            if (SuccessEvent != null)
            {
                handler(this, e);
            }
        }
Пример #2
0
 public UpdateBookDialog(string bookNumber, Action action)
 {
     InitializeComponent();
     orignialBookNumber = bookNumber;
     if (action != null)
     {
         successCallBack = new SuccessEventHandler(action);
     }
     InitlizationBook(bookNumber);
 }
Пример #3
0
 public void InitApiHandlers(SuccessEventHandler callbackSuccess = null, ErrorEventHandler callbackError = null)
 {
     cbSuccessEvent = callbackSuccess;
     cbErrorEvent   = callbackError;
 }
Пример #4
0
        public void OnSuccess(Java.Lang.Object result)
        {
            SuccessEventHandler.Invoke(this, null);

            //CloseActivity.Invoke()
        }