this->tabPage2->Click += gcnew System::EventHandler(this, &Form1::tabPage2_Click);
private: System::Void tabPage2_Click(System::Object^ sender, System::EventArgs^ e) { richTextBox1->Text=String::Format("You are in tab2", tabPage2->Text);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)