private void button2_Click(object sender, EventArgs e)
{
this.tabPage2.Parent = null; // hide
this.tabPage1.Parent = this.tabControl1; //show
}
private void button1_Click(object sender, EventArgs e)
{
this.tabPage1.Parent = null; // hide
this.tabPage2.Parent = this.tabControl1; //show
}
沒有留言:
張貼留言