예제 #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::ProductManager.Model.Info)newDataRoot;
         return(true);
     }
     return(false);
 }
예제 #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::ProductManager.Model.Info obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_ImagePath(obj.ImagePath, phase);
             this.Update_Product(obj.Product, phase);
             this.Update_Description(obj.Description, phase);
         }
     }
 }