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

            InitializeComponent();

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

            InitializeComponent();
            PopulateScheduleView();
            PopulateButtons();
        }
Exemplo n.º 3
0
 public MainWindow()
 {
     sma = new ScheduleMeAccess();
     InitializeComponent();
 }