private void btnKirala_Click(object sender, EventArgs e) { foreach (Form item in this.MdiChildren) { item.Dispose(); } frmKiralama frm = new frmKiralama(); frm.MdiParent = this; frm.Show(); }