标签:内容 技术分享 sdn als src image img false 按钮
如果两个panel重合在一起,点击不同按钮切换显示不同的panel,需要xxx.BringToFront();
private void button1_Click(object sender, EventArgs e) { this.panel1.Visible = true; this.panel2.Visible = false; } private void button2_Click(object sender, EventArgs e) { this.panel2.Visible = true; this.panel1.Visible = false; this.panel2.BringToFront(); }
参考:
http://bbs.csdn.net/topics/390741533
标签:内容 技术分享 sdn als src image img false 按钮
原文地址:http://www.cnblogs.com/Donnnnnn/p/6031278.html