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"); } }; }
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"); } }; }