private void checkInMenuItem_Click(object sender, EventArgs e) { if (checkInForm == null || checkInForm.IsDisposed) { checkInForm = new FormCheckIn(); checkInForm.MdiParent = this; checkInForm.Show(); }//end if else { checkInForm.Activate(); }//end else }
private void rentRoomMenuItem_Click(object sender, EventArgs e) { FormCheckIn checkInForm = new FormCheckIn(); checkInForm.MdiParent = this; checkInForm.Show(); }