title: How to get control(s) from TabPage in C#?
body: <p>I have few TabPages and each contains rich text box. How can I access richtechbox on a selected tab?</p>
  
  <pre><code>TabPage selectedTab = tabControl.SelectedTab;
  RichTextBox selectedRtb = selectedTab.Controls.Find("rtb", true).First() as RichTextBox;
  </code></pre>
  
  <p>This is what I have tried but no luck.</p>
  
  <p><strong>Added:</strong></p>
  
  <p>This is how tabpage is added with richtextbox control</p>
  
  <pre><code>TabPage newTab = new TabPage(name);
  RichTextBox rtb = new RichTextBox();
  rtb.Dock = DockStyle.Fill;
  rtb.BorderStyle = BorderStyle.None;
  rtb.Text = file.Data;
  newTab.Controls.Add(rtb);
  tabControl.TabPages.Add(newTab);
  tabControl.SelectedTab = newTab;
  </code></pre>