Beispiel #1
0
        private void InitializeScheduleTable()
        {
            var scheduleModel = ScheduleProvider.GetLecturerSchedule();
            ScheduleTablePresenter presenter = new ScheduleTablePresenter(scheduleModel);

            var scheduleView = new ScheduleTableView();

            compContainer.AttachView(scheduleView);

            scheduleView.AttachToPresenter(presenter, true);

            scheduleButton.Tag = scheduleView;
        }
        void ReleaseDesignerOutlets()
        {
            if (EventTeamScheduleNavigation != null)
            {
                EventTeamScheduleNavigation.Dispose();
                EventTeamScheduleNavigation = null;
            }

            if (ScheduleTableView != null)
            {
                ScheduleTableView.Dispose();
                ScheduleTableView = null;
            }

            if (TeamsTableView != null)
            {
                TeamsTableView.Dispose();
                TeamsTableView = null;
            }
        }