//Received Message private void CurrencyEditResponseMessageReceived(ParentMessage obj) { if (obj.level.Equals("Main")) { ////OK button clicked if (obj.currentObject != null) { if (obj.action.Equals("Update")) { this.CurrentSelectItem.ItemContent = (obj.currentObject as CM_ALLCODE_SearchResult); } else { this.isInsert = true; } } else { this.messagePop.Reset(); ActionMenuButton.actionControl.SetAllAction(actionButton, null, actionButton, actionButton, actionButton, actionButton, null); PageAnimation.ToFront(); if (this.isInsert) { this.isInsert = false; this.Search(); } } } }
//Received Message private void CurrencyEditResponseMessageReceived(ParentMessage obj) { //OK button clicked if (obj.currentObject != null) { this.currentData.Add(obj.currentObject as CM_BRANCH); } else { this.messagePop.Reset(); ActionMenuButton.actionControl.SetAllAction(actionButton, null, actionButton, actionButton, actionButton, actionButton, null); PageAnimation.ToFront(); } }
//Received Message private void CurrencyEditResponseMessageReceived(ParentMessage obj) { //OK button clicked if (obj.currentObject != null) { ZOO_LOTHUOC newitem = (obj.currentObject as ZOO_LOTHUOC); this.DANHSACHLOTHUOC.Add(newitem); } else { this.messagePop.Reset(); ActionMenuButton.actionControl.SetAllAction(actionButton, null, actionButton, actionButton, actionButton, actionButton, null); PageAnimation.ToFront(); } }
private void UserEditResponseMessageReceived(ParentMessage obj) { if (obj.currentObject != null) { //this.currentData.Add(obj.currentObject as TL_USER_SearchResult); this.isInsert = true; //this.DataRefresh(); } else { if (this.isInsert) { this.isInsert = false; this.Search(); } this.messagePop.Reset(); ActionMenuButton.actionControl.SetAllAction(actionButton, null, actionButton, actionButton, actionButton, actionButton, null); PageAnimation.ToFront(); } }
//Received Message private void CurrencyEditResponseMessageReceived(ParentMessage obj) { //OK button clicked if (obj.currentObject != null) { TL_MENU newitem = (obj.currentObject as TL_MENU); this.currencyData.Add(newitem); if (newitem.MENU_PARENT.Equals("")) { this.ParentData.Add(new TL_MENU() { MENU_PARENT = newitem.MENU_ID.ToString(), MENU_NAME = newitem.MENU_NAME }); } } else { this.messagePop.Reset(); ActionMenuButton.actionControl.SetAllAction(actionButton, null, actionButton, actionButton, actionButton, actionButton, null); PageAnimation.ToFront(); } }