private void button5_Click(object sender, EventArgs e) { SubLogin slogin = new SubLogin(); slogin.MdiParent = this.ParentForm; slogin.Show(); }