Beispiel #1
0
        public ClassroomBrowserControl(PresenterModel model)
        {
            this.SuspendLayout();

            this.m_Model = model;

            this.m_ClassroomsList          = new ClassroomsListView(this.m_Model);
            this.m_PresentationsList       = new PresentationsListView(this.m_Model);
            this.m_PresentationButtonPanel = new PresentationButtonPanel(this.m_Model);

            this.Controls.Add(this.m_ClassroomsList);
            this.Controls.Add(this.m_PresentationButtonPanel);
            this.Controls.Add(this.m_PresentationsList);

            // The model has no concept of the currently selected classroom for the purposes of
            // this UI (nor should it), so we're responsible for updating the buttons directly.
            this.m_PresentationsList.SelectedIndexChanged += new EventHandler(HandlePresentationSelectionChanged);
            this.HandlePresentationSelectionChanged(null, null);

            this.ResumeLayout(false);
        }
        public ClassroomBrowserControl(PresenterModel model)
        {
            this.SuspendLayout();

            this.m_Model = model;

            this.m_ClassroomsList = new ClassroomsListView(this.m_Model);
            this.m_PresentationsList = new PresentationsListView(this.m_Model);
            this.m_PresentationButtonPanel = new PresentationButtonPanel(this.m_Model);

            this.Controls.Add(this.m_ClassroomsList);
            this.Controls.Add(this.m_PresentationButtonPanel);
            this.Controls.Add(this.m_PresentationsList);

            // The model has no concept of the currently selected classroom for the purposes of
            // this UI (nor should it), so we're responsible for updating the buttons directly.
            this.m_PresentationsList.SelectedIndexChanged += new EventHandler(HandlePresentationSelectionChanged);
            this.HandlePresentationSelectionChanged(null, null);

            this.ResumeLayout(false);
        }
Beispiel #3
0
 public PresentationCollectionHelper(PresentationsListView parent, ClassroomModel classroom) : base(parent.m_EventQueue, classroom, "Presentations")
 {
     this.m_Parent = parent;
     base.Initialize();
 }
Beispiel #4
0
 public ClassroomCollectionHelper(PresentationsListView parent, ProtocolModel protocol) : base(parent.m_EventQueue, protocol, "Classrooms")
 {
     this.m_Parent = parent;
     base.Initialize();
 }
Beispiel #5
0
 public ProtocolCollectionHelper(PresentationsListView parent, NetworkModel network) : base(parent.m_EventQueue, network, "Protocols")
 {
     this.m_Parent = parent;
     base.Initialize();
 }
 public ProtocolCollectionHelper(PresentationsListView parent, NetworkModel network)
     : base(parent.m_EventQueue, network, "Protocols")
 {
     this.m_Parent = parent;
     base.Initialize();
 }
 public PresentationCollectionHelper(PresentationsListView parent, ClassroomModel classroom)
     : base(parent.m_EventQueue, classroom, "Presentations")
 {
     this.m_Parent = parent;
     base.Initialize();
 }
 public ClassroomCollectionHelper(PresentationsListView parent, ProtocolModel protocol)
     : base(parent.m_EventQueue, protocol, "Classrooms")
 {
     this.m_Parent = parent;
     base.Initialize();
 }