示例#1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form n = new frmKamar();

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