public void OnSuccess(SuccessEventArgs e) { SuccessEventHandler handler = SuccessEvent; if (SuccessEvent != null) { handler(this, e); } }
public UpdateBookDialog(string bookNumber, Action action) { InitializeComponent(); orignialBookNumber = bookNumber; if (action != null) { successCallBack = new SuccessEventHandler(action); } InitlizationBook(bookNumber); }
public void InitApiHandlers(SuccessEventHandler callbackSuccess = null, ErrorEventHandler callbackError = null) { cbSuccessEvent = callbackSuccess; cbErrorEvent = callbackError; }
public void OnSuccess(Java.Lang.Object result) { SuccessEventHandler.Invoke(this, null); //CloseActivity.Invoke() }