Beispiel #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::Lab11.Model.MenuItem)newDataRoot;
         return(true);
     }
     return(false);
 }
Beispiel #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::Lab11.Model.MenuItem obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_IconFile(obj.IconFile, phase);
             this.Update_Category(obj.Category, phase);
         }
     }
 }