Tag Archives: Mdi Form Kontrol

C# Mdi Form Kullanımı


       private void CheckMdiChildren(Form form)
        {
            foreach (Form frm in this.MdiChildren)
            {
                if (frm.GetType() == form.GetType())
                {
                    frm.Focus();
                    return;
                }
            }

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


            Form1 yeniform = new Form1 ();
            CheckMdiChildren(yeniform );