示例#1
0
文件: FZd.cs 项目: sungxgit/sun_code
        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            foreach (Form forms in this.MdiChildren)
            {
                if (forms is Frpt)
                {
                    forms.Focus();
                    forms.WindowState = FormWindowState.Maximized;
                    return;
                }
            }
            Frpt rp = new Frpt(label1.Text, false);

            rp.MdiParent   = this.MdiParent;
            rp.WindowState = FormWindowState.Maximized;
            rp.Show();
        }
示例#2
0
        private void MI_Sys_Bmd_Click(object sender, EventArgs e)
        {
            foreach (Form forms in this.MdiChildren)
            {
                if (forms is Frpt)
                {
                    forms.Focus();
                    forms.WindowState = FormWindowState.Maximized;
                    return;
                }
            }
            Frpt rp = new Frpt();

            rp.MdiParent   = this;
            rp.WindowState = FormWindowState.Maximized;
            rp.Show();
        }