public virtual void FireEditSupplierEvent(object o) { if (SupplierManager.OnEditSupplierEvent != null) { ItemEventArgs e = new ItemEventArgs(o); OnEditSupplierEvent(this, e); } }
public virtual void FireEditPriceCateEvent(object o) { if (MyItemManager.OnEditPriceCateEvent != null) { ItemEventArgs e = new ItemEventArgs(o); OnEditPriceCateEvent(this, e); } }
public virtual void FireEditTrackingEvent(object o) { if (FinOrderManager.OnEditTrackingEvent != null) { ItemEventArgs e = new ItemEventArgs(o); OnEditTrackingEvent(this, e); } }
void OnNewEditEvent(object sender, ItemEventArgs e) { this.BeginInvoke(new Action(() => { BindDataWithPage(); })); }
void MyItemManager_OnEditCategoryEvent(object sender, ItemEventArgs e) { this.BeginInvoke(new Action(() => { LoadMyItemCategoriesTreeView(); })); }
void MyItemManager_OnEditPriceCateEvent(object sender, ItemEventArgs e) { this.BeginInvoke(new Action(() => { BindDataWithPage(pager.PageIndex); })); }
void SupplierManager_OnEditSupplierEvent(object sender, ItemEventArgs e) { this.BeginInvoke(new Action(() => { BindDataWithPage(pager.PageIndex); })); }
void OnEditTrackingEvent(object sender, ItemEventArgs e) { this.BeginInvoke(new Action(() => { OrderTracking o = (OrderTracking)e.Item; BindDataWithPage(); for (int i = 0; i < list.Count; i++) { Order order = (Order)list[i]; if (order.Id == o.OrderId) { OrderGrid.Selection.FocusRow(i + 1); break; } } List<OrderTracking> trackingList = finOrderManager.GetOrderTrackingList(o.OrderId); DoFillTracking(trackingList); })); }
void OnNewEditEvent(object sender, ItemEventArgs e) { BindDataWithPage(FinDetailPager.PageIndex); }