Exemple #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::DVDShop.Views.ProductViews)newDataRoot;
         return(true);
     }
     return(false);
 }
Exemple #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::DVDShop.Views.ProductViews obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_ListProduct(obj.ListProduct, phase);
             this.Update_ListCategory(obj.ListCategory, phase);
             this.Update_ListSubCategory(obj.ListSubCategory, phase);
         }
     }
 }