C# |
Loading
C# |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nilanka DharmadasaRank #1,875 · 794 reputationPosted Jan 19, 2010, 6:19 PM EST
Did you bind the 'ChangeTab' method to TabControl's 'SelectedIndexChanged' event? If you didnt do that, you can do that by adding following line in red to your form constructor as given below.
public Form1()
{
InitializeComponent();
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.ChangeTab);
}
If you find my answer helpful, please do not forget to tick 'Do you like this answer' checkbox.
Sam HobbsRank #107 · 20.5K reputationPosted Jan 19, 2010, 1:03 PM EST
Milos49 reputationPosted Jan 19, 2010, 1:32 PM EST
Sam HobbsRank #107 · 20.5K reputationPosted Jan 19, 2010, 6:22 PM EST
Milos49 reputationPosted Jan 20, 2010, 7:59 AM EST