private void Update_ViewModel(global::AnalysisOfTranslationErrors.ViewModels.HomePageViewModel obj, int phase)
 {
     this.bindingsTracking.UpdateChildListeners_ViewModel(obj);
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_ViewModel_RefPath(obj.RefPath, phase);
             this.Update_ViewModel_SysPath(obj.SysPath, phase);
             this.Update_ViewModel_SrcPath(obj.SrcPath, phase);
             this.Update_ViewModel_ProjectsList(obj.ProjectsList, phase);
         }
     }
 }
 public void UpdateChildListeners_ViewModel(global::AnalysisOfTranslationErrors.ViewModels.HomePageViewModel obj)
 {
     if (obj != cache_ViewModel)
     {
         if (cache_ViewModel != null)
         {
             ((global::System.ComponentModel.INotifyPropertyChanged)cache_ViewModel).PropertyChanged -= PropertyChanged_ViewModel;
             cache_ViewModel = null;
         }
         if (obj != null)
         {
             cache_ViewModel = obj;
             ((global::System.ComponentModel.INotifyPropertyChanged)obj).PropertyChanged += PropertyChanged_ViewModel;
         }
     }
 }
                public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e)
                {
                    HomePage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        string propName = e.PropertyName;
                        global::AnalysisOfTranslationErrors.ViewModels.HomePageViewModel obj = sender as global::AnalysisOfTranslationErrors.ViewModels.HomePageViewModel;
                        if (global::System.String.IsNullOrEmpty(propName))
                        {
                            if (obj != null)
                            {
                                bindings.Update_ViewModel_RefPath(obj.RefPath, DATA_CHANGED);
                                bindings.Update_ViewModel_SysPath(obj.SysPath, DATA_CHANGED);
                                bindings.Update_ViewModel_SrcPath(obj.SrcPath, DATA_CHANGED);
                                bindings.Update_ViewModel_ProjectsList(obj.ProjectsList, DATA_CHANGED);
                            }
                        }
                        else
                        {
                            switch (propName)
                            {
                            case "RefPath":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_RefPath(obj.RefPath, DATA_CHANGED);
                                }
                                break;
                            }

                            case "SysPath":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_SysPath(obj.SysPath, DATA_CHANGED);
                                }
                                break;
                            }

                            case "SrcPath":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_SrcPath(obj.SrcPath, DATA_CHANGED);
                                }
                                break;
                            }

                            case "ProjectsList":
                            {
                                if (obj != null)
                                {
                                    bindings.Update_ViewModel_ProjectsList(obj.ProjectsList, DATA_CHANGED);
                                }
                                break;
                            }

                            default:
                                break;
                            }
                        }
                    }
                }