Example #1
0
 public virtual void FireEditSupplierEvent(object o)
 {
     if (SupplierManager.OnEditSupplierEvent != null)
     {
         ItemEventArgs e = new ItemEventArgs(o);
         OnEditSupplierEvent(this, e);
     }
 }
Example #2
0
 public virtual void FireEditPriceCateEvent(object o)
 {
     if (MyItemManager.OnEditPriceCateEvent != null)
     {
         ItemEventArgs e = new ItemEventArgs(o);
         OnEditPriceCateEvent(this, e);
     }
 }
Example #3
0
 public virtual void FireEditTrackingEvent(object o)
 {
     if (FinOrderManager.OnEditTrackingEvent != null)
     {
         ItemEventArgs e = new ItemEventArgs(o);
         OnEditTrackingEvent(this, e);
     }
 }
Example #4
0
 void OnNewEditEvent(object sender, ItemEventArgs e)
 {
     this.BeginInvoke(new Action(() =>
     {
         BindDataWithPage();
     }));
 }
Example #5
0
 void MyItemManager_OnEditCategoryEvent(object sender, ItemEventArgs e)
 {
     this.BeginInvoke(new Action(() =>
     {
         LoadMyItemCategoriesTreeView();
     }));
 }
Example #6
0
 void MyItemManager_OnEditPriceCateEvent(object sender, ItemEventArgs e)
 {
     this.BeginInvoke(new Action(() =>
     {
         BindDataWithPage(pager.PageIndex);
     }));
 }
Example #7
0
 void SupplierManager_OnEditSupplierEvent(object sender, ItemEventArgs e)
 {
     this.BeginInvoke(new Action(() =>
     {
         BindDataWithPage(pager.PageIndex);
     }));
 }
Example #8
0
 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);
     }));
 }
Example #9
0
 void OnNewEditEvent(object sender, ItemEventArgs e)
 {
     BindDataWithPage(FinDetailPager.PageIndex);
 }