/// <summary> /// Makes all the button associated with changing slide properties /// </summary> /// <param name="parent">The parent ToolStrip</param> /// <param name="dispatcher">The event queue</param> public void MakeButtons(ToolStrip parent, ControlEventQueue dispatcher) { SlideToolBarButton clear, zoom; // Add the clear button clear = new ClearInkSheetToolBarButton(dispatcher, this.m_Model); clear.Image = UW.ClassroomPresenter.Properties.Resources.slideerase; // Add the zoom button zoom = new ZoomToolBarButton(dispatcher, this.m_Model); zoom.Image = UW.ClassroomPresenter.Properties.Resources.minimize; // Add the buttons to the parent ToolStrip parent.Items.Add(clear); parent.Items.Add(new ToolStripSeparator()); parent.Items.Add(zoom); }
/// <summary> /// Makes all the button associated with changing slide properties /// </summary> /// <param name="parent">The parent ToolStrip</param> /// <param name="dispatcher">The event queue</param> public void MakeButtons(ToolStrip parent, ControlEventQueue dispatcher) { SlideToolBarButton clear, zoom; // Add the clear button clear = new ClearInkSheetToolBarButton( dispatcher, this.m_Model ); clear.Image = UW.ClassroomPresenter.Properties.Resources.slideerase; // Add the zoom button zoom = new ZoomToolBarButton( dispatcher, this.m_Model ); zoom.Image = UW.ClassroomPresenter.Properties.Resources.minimize; // Add the buttons to the parent ToolStrip parent.Items.Add(clear); parent.Items.Add(new ToolStripSeparator()); parent.Items.Add(zoom); }
/// <summary> /// Makes all the button associated with changing slide properties /// </summary> /// <param name="main">The main ToolStrip</param> /// <param name="extra">The extra ToolStrip</param> /// <param name="dispatcher">The event queue</param> public void MakeButtons(ToolStrip main, ToolStrip extra, ControlEventQueue dispatcher) { SlideToolBarButton clear, zoom; // Add the clear button clear = new ClearInkSheetToolBarButton(dispatcher, this.m_Model); clear.Image = UW.ClassroomPresenter.Properties.Resources.slideerase; // Add the zoom button zoom = new ZoomToolBarButton(dispatcher, this.m_Model); zoom.Image = UW.ClassroomPresenter.Properties.Resources.minimize; zoom.AutoSize = false; zoom.Width = 54; zoom.Height = 44; // Add the buttons to the parent ToolStrip main.Items.Add(clear); extra.Items.Add(zoom); }
/// <summary> /// Makes all the button associated with changing slide properties /// </summary> /// <param name="main">The main ToolStrip</param> /// <param name="extra">The extra ToolStrip</param> /// <param name="dispatcher">The event queue</param> public void MakeButtons(ToolStrip main, ToolStrip extra, ControlEventQueue dispatcher) { SlideToolBarButton clear, zoom; // Add the clear button clear = new ClearInkSheetToolBarButton( dispatcher, this.m_Model ); clear.Image = UW.ClassroomPresenter.Properties.Resources.slideerase; // Add the zoom button zoom = new ZoomToolBarButton( dispatcher, this.m_Model ); zoom.Image = UW.ClassroomPresenter.Properties.Resources.minimize; zoom.AutoSize = false; zoom.Width = 54; zoom.Height = 44; // Add the buttons to the parent ToolStrip main.Items.Add(clear); extra.Items.Add(zoom); }