Exemple #1
0
        public ViewPersonalInfo(Dashboard dashboard, ObservableCollection <smUser> user)
        {
            _dashboard = dashboard;
            this.user  = user;
            sma        = new ScheduleMeAccess();

            InitializeComponent();

            PopulateUserFields();
        }
Exemple #2
0
        public Dashboard(string username)
        {
            _dashboard    = this;
            sma           = new ScheduleMeAccess();
            this.username = username;
            user          = sma.GetUser(username);

            InitializeComponent();
            PopulateScheduleView();
            PopulateButtons();
        }
Exemple #3
0
 public MainWindow()
 {
     sma = new ScheduleMeAccess();
     InitializeComponent();
 }