Inheritance: INotifyPropertyChanged
Esempio n. 1
0
 public DashboardDataContext(Dashboard dashboard)
 {
     _dashboard = dashboard;
     GwupeClientAppContext.CurrentAppContext.CurrentUserManager.PropertyChanged +=
         (sender, args) => { if (args.PropertyName.Equals("ActiveShoreCode"))
                             {
                                 OnPropertyChanged("ShortCode");
                             }
     };
     DashboardStateManager = new DashboardStateManager();
     DashboardStateManager.PropertyChanged += (sender, args) =>
     {
         if (args.PropertyName.Equals("DashboardState"))
         {
             OnPropertyChanged("DashboardState");
         }
     };
 }
Esempio n. 2
0
 public DashboardDataContext(Dashboard dashboard)
 {
     _dashboard = dashboard;
     GwupeClientAppContext.CurrentAppContext.CurrentUserManager.PropertyChanged +=
         (sender, args) => { if (args.PropertyName.Equals("ActiveShoreCode")) OnPropertyChanged("ShortCode"); };
     DashboardStateManager = new DashboardStateManager();
     DashboardStateManager.PropertyChanged += (sender, args) =>
     {
         if (args.PropertyName.Equals("DashboardState"))
         {
             OnPropertyChanged("DashboardState");
         }
     };
 }