Пример #1
0
        public CoachWindowController(accounts account)
        {
            model = new CoachWindowModel();
            view  = new CoachWindow(model);

            model.Account = account;
            model.UpdateDataGrid();
            view.SetDataGridsDataSource(model.DataGridItems);
            view.DisplayContent();
            SubscribeWindowEvents();
        }
Пример #2
0
 public CoachWindow(CoachWindowModel data)
 {
     this.data = data;
     InitializeComponent();
     BindEvents();
 }