窗体问题 我想问下在MID中打开了一个子窗体A,当子窗体A在没有关闭前 再次按打开A窗体的时候,把已经打开的A窗体重新调出来,而不是再打开一个窗体A,使MID中有2个A窗体 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 看看这个: for (int i = 0; i < this.MdiChildren.Length; i++) { if (this.MdiChildren[i].Name == "form1") { this.MdiChildren[i].Activate(); return; } } form1 newMDIChild = new form1(); newMDIChild.MdiParent = this; newMDIChild.Show(); foreach (Form frm in this.MdiChildren) { if (frm is XiaoshouChu) { frm.WindowState = FormWindowState.Normal; frm.Activate(); return; } } XiaoshouChu xc = new XiaoshouChu(); xc.MdiParent = this; xc.Show();XiaoshouChu 为子窗体 请教“判断几个文本框,内容不为空的交集输出”问题 急待解决!!!哪位高手帮忙看下下列代码!!! 关于运行符的小问题 hyperlink控件的背景颜色? 非常奇怪!!! 问题:listView选中的记录因滚动条不能直接显示出来 请问如何实现:上传文件夹的所有内容到服务器 c# 关于网络编程 我的新建项目智能设备应用中怎么没有 smartphone可选 asp.net mvc 发件人字符串格式 treeview的问题 如何通过从datetimepicker得到的年份,来计算与今天所差的年数?
for (int i = 0; i < this.MdiChildren.Length; i++)
{
if (this.MdiChildren[i].Name == "form1")
{
this.MdiChildren[i].Activate();
return;
}
}
form1 newMDIChild = new form1();
newMDIChild.MdiParent = this;
newMDIChild.Show();
{
if (frm is XiaoshouChu)
{
frm.WindowState = FormWindowState.Normal;
frm.Activate();
return;
} }
XiaoshouChu xc = new XiaoshouChu();
xc.MdiParent = this;
xc.Show();XiaoshouChu 为子窗体