public SignUpControl(Dashboard dashboard) { _dashboard = dashboard; _appContext = GwupeClientAppContext.CurrentAppContext; this.InitializeComponent(); _validator = new InputValidator(null,ErrorText,Dispatcher); }
public LoginControl(Dashboard dashboard) { this.InitializeComponent(); _dashboard = dashboard; ApplyBlurEffect(dashboard); Username.Text = GwupeClientAppContext.CurrentAppContext.LoginManager.LoginDetails.Username ?? ""; _validator = new InputValidator(null, null, Dispatcher); }
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"); } }; }
private void ClearBlurEffect(Dashboard dashboard) { dashboard.Opacity = 100; }
private void ApplyBlurEffect(Dashboard dashboard) { dashboard.Opacity = 0.9; }
private void RunUI() { dashBoard = new Dashboard(GwupeClientAppContext.CurrentAppContext); uiReady.Set(); Dispatcher.Run(); }
public void SetAsMain(Dashboard dashboard) { }