private void checkInToolStripMenuItem_Click(object sender, EventArgs e) { Form checkIn = new frmCheckIn(true); checkIn.MdiParent = this; checkIn.Show(); }
private void checkOutToolStripMenuItem_Click(object sender, EventArgs e) { Form checkIn = new frmCheckIn(false, Convert.ToInt16(txtMemberID.Text)); DialogResult dr = checkIn.ShowDialog(this); if (DialogResult.OK == dr) { tsslLabel.Text = "Check out successful"; } }