コード例 #1
0
 public void DataContextChangedHandler(global::Windows.UI.Xaml.FrameworkElement sender, global::Windows.UI.Xaml.DataContextChangedEventArgs args)
 {
     global::WoundManagementSystem.PatientVisit data = args.NewValue as global::WoundManagementSystem.PatientVisit;
     if (args.NewValue != null && data == null)
     {
         throw new global::System.ArgumentException("Incorrect type passed into template. Based on the x:DataType global::WoundManagementSystem.PatientVisit was expected.");
     }
     this.SetDataRoot(data);
     this.Update();
 }
コード例 #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::WoundManagementSystem.PatientVisit obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_id(obj.id, phase);
             this.Update_time(obj.time, phase);
             this.Update_date(obj.date, phase);
         }
     }
 }
コード例 #3
0
            // PatientPage_obj44_Bindings

            public void SetDataRoot(global::WoundManagementSystem.PatientVisit newDataRoot)
            {
                this.dataRoot = newDataRoot;
            }