예제 #1
0
        private void MainMenu_Load(object sender, EventArgs e)
        {
            OgrenciLib.mainForm = this;

            OgrenciListesi form = new OgrenciListesi();

            form.MdiParent = this;
            foreach (Control ctrl in Controls)
            {
                if (ctrl is MdiClient)
                {
                    form.Size = (ctrl as MdiClient).Size;
                    break;
                }
            }
            form.Show();
            OgrenciLib.activeForm = form;
        }