private void 预借图书PToolStripMenuItem_Click(object sender, EventArgs e) { if (!OnlyOpen("frmBookAbout", "预借图书")) { frmBookAbout fb = new frmBookAbout(); fb.Text = "预借图书"; fb.rdbForBorrow.Checked = true; fb.MdiParent = this; fb.Show(); } }
private void 续借图书XToolStripMenuItem_Click(object sender, EventArgs e) { if (!OnlyOpen("frmBookAbout", "续借图书")) { frmBookAbout contuine = new frmBookAbout(); contuine.Text = "续借图书"; contuine.rdbContuine.Checked = true; contuine.MdiParent = this; contuine.Show(); } }
private void 归还图书RToolStripMenuItem_Click(object sender, EventArgs e) { frmBookAbout fba = new frmBookAbout(); fba.Text = "归还图书"; fba.rdbReback.Checked = true; fba.dupBroTime.Visible = false; fba.label3.Visible = false; fba.dupBookNumber.Visible = true; fba.label2.Visible = true; if (!OnlyOpen("frmBookAbout", "归还图书")) { fba.MdiParent = this; fba.Show(); } }
private void toolStripMenuItem8_Click(object sender, EventArgs e) { frmBookAbout fba = new frmBookAbout(); fba.Text = "借阅图书"; fba.rdbBorrow.Checked = true; fba.dupBroTime.Visible = true; fba.label3.Visible = true; fba.dupBookNumber.Visible = true; fba.label2.Visible = true; if (!OnlyOpen("frmBookAbout", "出借图书")) { fba.MdiParent = this; fba.Show(); } }