private void 择专题SToolStripMenuItem_Click(object sender, EventArgs e) { ZTListNew frmnewzt = new ZTListNew(); frmnewzt.MdiParent = this; frmnewzt.Show(); }
private void MDIMain_Load(object sender, EventArgs e) { ZTListNew ztlist = new ZTListNew(); ztlist.MdiParent = this; ztlist.Show(); //ztlist.Focus(); ztlist.Select(); }
private void 专题库管理ToolStripMenuItem_Click(object sender, EventArgs e) { foreach (Form form in this.MdiChildren) { if (form is ZTListNew) { form.Show(); return; } } ZTListNew frmnewzt = new ZTListNew(); frmnewzt.MdiParent = this; frmnewzt.Show(); }
private void MDIMain_Load(object sender, EventArgs e) { //InitSqlTest(); tsLabUser.Text = string.Format("{0}[{1}]", BLL.SysMag.Login.StrLoginLname, BLL.SysMag.Login.StrLoginSname); foreach (Form form in this.MdiChildren) { if (form is ZTListNew) { form.Show(); return; } } ZTListNew ztlist = new ZTListNew(); ztlist.MdiParent = this; ztlist.Show(); }