private void button2_Click(object sender, EventArgs e) { Form n = new frmKamar(); this.Close(); n.Show(); }
private void tambahKamarToolStripMenuItem_Click(object sender, EventArgs e) { if (this.MdiChildren.Length < 1) { Form showForm = new frmKamar(); showForm.MdiParent = this; showForm.Show(); } }