コード例 #1
0
        private void panelHeader_Click(object sender, EventArgs e)
        {
            foreach (Form form in Application.OpenForms)
            {
                if (form.GetType() == typeof(PDCLoanListing))
                {
                    form.Activate();
                    return;
                }
            }

            PDCLoanListing frm = new PDCLoanListing();

            frm.Show();
            frm.MdiParent = this;
        }
コード例 #2
0
        private void button31_Click(object sender, EventArgs e)
        {
            panelPDCManagement.Visible = false;
            //controls
            foreach (Form form in Application.OpenForms)
            {
                if (form.GetType() == typeof(PDCLoanListing))
                {
                    form.Activate();
                    return;
                }
            }

            PDCLoanListing frm = new PDCLoanListing();

            frm.Show();
            frm.MdiParent = this;
        }