Example #1
0
 /// <summary>
 ///   A simple constructor that initializes the object with the given values.
 /// </summary>
 /// <param name="p_tpgPage">The <see cref="VerticalTabPage" /> associated with this tab.</param>
 internal VerticalTabButton(VerticalTabPage p_tpgPage)
     : base(new StatusButton(), "Click", -1, ToolStripItemDisplayStyle.Text)
 {
     TabPage = p_tpgPage;
     StatusButton.Button.FlatStyle = FlatStyle.Flat;
     StatusButton.Button.FlatAppearance.BorderSize = 0;
     TabPage.BackColorChanged += m_tpgPage_BackColorChanged;
 }
Example #2
0
 /// <summary>
 ///   A simple constructor that initializes the object with the given values.
 /// </summary>
 /// <param name="p_tpgPage">The <see cref="VerticalTabPage" /> associated with this tab.</param>
 internal VerticalTabButton(VerticalTabPage p_tpgPage)
   : base(new StatusButton(), "Click", -1, ToolStripItemDisplayStyle.Text)
 {
   TabPage = p_tpgPage;
   StatusButton.Button.FlatStyle = FlatStyle.Flat;
   StatusButton.Button.FlatAppearance.BorderSize = 0;
   TabPage.BackColorChanged += m_tpgPage_BackColorChanged;
 }
Example #3
0
 /// <summary>
 ///   A simple consturctor that initializes the object with the given values.
 /// </summary>
 /// <param name="p_tpgPage">The tab page that was affected by the event.</param>
 public TabPageEventArgs(VerticalTabPage p_tpgPage)
 {
     TabPage = p_tpgPage;
 }