/// <summary>
        /// Constructor
        /// </summary>
        /// <param name="model">The model that this class modifies</param>
        public FullScreenButtons(PresenterModel model, ControlEventQueue dispatcher)
        {
            this.m_Model = model;

            /// <summary>
            /// Constructs all of the child buttons belonging to this class
            /// </summary>
            /// <param name="parent">The parent ToolStrip to place the buttons in</param>
            /// <param name="dispatcher">The event queue to use for events</param>

            this.ret = new ReturnButton(this.m_Model);

            // Create the back button
            this.back = new BackwardNavigationToolBarButton(dispatcher, this.m_Model);
            this.back.Image = UW.ClassroomPresenter.Properties.Resources.left;
            //this.back.AutoSize = true;

            // Create the forward button
            this.forward = new ForwardNavigationToolBarButton(dispatcher, this.m_Model);
            this.forward.Image = UW.ClassroomPresenter.Properties.Resources.right;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="model">The model that this class modifies</param>
        public FullScreenButtons(PresenterModel model, ControlEventQueue dispatcher)
        {
            this.m_Model = model;


            /// <summary>
            /// Constructs all of the child buttons belonging to this class
            /// </summary>
            /// <param name="parent">The parent ToolStrip to place the buttons in</param>
            /// <param name="dispatcher">The event queue to use for events</param>

            this.ret = new ReturnButton(this.m_Model);


            // Create the back button
            this.back       = new BackwardNavigationToolBarButton(dispatcher, this.m_Model);
            this.back.Image = UW.ClassroomPresenter.Properties.Resources.left;
            //this.back.AutoSize = true;

            // Create the forward button
            this.forward       = new ForwardNavigationToolBarButton(dispatcher, this.m_Model);
            this.forward.Image = UW.ClassroomPresenter.Properties.Resources.right;
        }