日期:2014-05-18 浏览次数:20807 次
private void button1_Click(object sender, EventArgs e) { this.panel1.Visible = !this.panel1.Visible; }
------解决方案--------------------
private void button1_Click(object sender, EventArgs e)
{
this.panel1.Visible = true;
}
private void button1_Click(object sender, EventArgs e)
{
this.panel1.Visible = false;
}