Esempio n. 1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     this.bindingsTracking.ReleaseAllListeners();
     if (newDataRoot != null)
     {
         this.dataRoot = (global::projectHerbariumMgmtIS.Dialogs.SpeciesForm)newDataRoot;
         return(true);
     }
     return(false);
 }
Esempio n. 2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::projectHerbariumMgmtIS.Dialogs.SpeciesForm obj, int phase)
 {
     this.bindingsTracking.UpdateChildListeners_(obj);
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_TransactionForm(obj.TransactionForm, phase);
             this.Update_SpeciesData(obj.SpeciesData, phase);
         }
     }
 }
Esempio n. 3
0
                public void DependencyPropertyChanged_SpeciesData(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    SpeciesForm_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::projectHerbariumMgmtIS.Dialogs.SpeciesForm obj = sender as global::projectHerbariumMgmtIS.Dialogs.SpeciesForm;
                        if (obj != null)
                        {
                            bindings.Update_SpeciesData(obj.SpeciesData, DATA_CHANGED);
                        }
                    }
                }
Esempio n. 4
0
                public void UpdateChildListeners_(global::projectHerbariumMgmtIS.Dialogs.SpeciesForm obj)
                {
                    SpeciesForm_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.SpeciesForm.TransactionFormProperty, tokenDPC_TransactionForm);
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.SpeciesForm.SpeciesDataProperty, tokenDPC_SpeciesData);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot        = obj;
                            tokenDPC_TransactionForm = obj.RegisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.SpeciesForm.TransactionFormProperty, DependencyPropertyChanged_TransactionForm);
                            tokenDPC_SpeciesData     = obj.RegisterPropertyChangedCallback(global::projectHerbariumMgmtIS.Dialogs.SpeciesForm.SpeciesDataProperty, DependencyPropertyChanged_SpeciesData);
                        }
                    }
                }