示例#1
0
        private void Container_Load(object sender, EventArgs e)
        {
            foreach (Form childForm in this.MdiChildren)
            {
                childForm.Close();
            }

            FrmMusteriEkle musteriEkle = new FrmMusteriEkle();

            musteriEkle.MdiParent   = this;
            musteriEkle.WindowState = FormWindowState.Maximized;
            musteriEkle.Show();
        }
示例#2
0
        private void müşterıEkleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (Form childForm in this.MdiChildren)
            {
                childForm.Close();
            }

            FrmMusteriEkle musteriEkle = new FrmMusteriEkle();

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