C# 在窗体中实现容器的 收缩 本帖最后由 eznanke 于 2010-04-01 15:26:45 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 更改groupbox 的宽度跟高度 private void button3_Click(object sender, EventArgs e) { grpBoxAdvanced.Visible = !grpBoxAdvanced.Visible; int height = grpBoxAdvanced.Height; if (grpBoxAdvanced.Visible) { this.Height += height; button1.Top += height; button2.Top += height; button3.Top += height; button3.Text = "隐藏高级设置"; } else { this.Height -= height; button1.Top -= height; button2.Top -= height; button3.Top -= height; button3.Text = "显示高级设置"; } } 我需要请教一个关于C#Windows中如何导出XML文档的问题。 问一个聊天软件关于内外网的问题,求思路 数据表记录发生变化时C#程序如何进行及时响应 强类型数据集如何实现缓存? 100分求算法。 为什么我做的c#程序在别的机子上面无法运行! 2000条父子结构的记录递归添加至TreeView,耗时近2分钟,感觉有些慢,不知道 如何将double类型转换成double数组... Microsoft Visual Studio 2010 打开报错 紧急求助,散分! 点击按钮打开一个记事本 c# 停止程序
private void button3_Click(object sender, EventArgs e)
{
grpBoxAdvanced.Visible = !grpBoxAdvanced.Visible;
int height = grpBoxAdvanced.Height;
if (grpBoxAdvanced.Visible)
{
this.Height += height;
button1.Top += height;
button2.Top += height;
button3.Top += height;
button3.Text = "隐藏高级设置";
}
else
{
this.Height -= height;
button1.Top -= height;
button2.Top -= height;
button3.Top -= height;
button3.Text = "显示高级设置";
}
}