public ViewPersonalInfo(Dashboard dashboard, ObservableCollection <smUser> user) { _dashboard = dashboard; this.user = user; sma = new ScheduleMeAccess(); InitializeComponent(); PopulateUserFields(); }
public Dashboard(string username) { _dashboard = this; sma = new ScheduleMeAccess(); this.username = username; user = sma.GetUser(username); InitializeComponent(); PopulateScheduleView(); PopulateButtons(); }
public MainWindow() { sma = new ScheduleMeAccess(); InitializeComponent(); }