private void addReader_Click(object sender, EventArgs e) { NewReaderForm newReader = new NewReaderForm(readers); newReader.Show(); newReader.FormClosing += HandleNewReader; }
//办理借书证 private void CardRegistor(object sender, EventArgs e) { NewReaderForm nr = new NewReaderForm(); nr.MdiParent = this; nr.StartPosition = FormStartPosition.CenterScreen; nr.WindowState = FormWindowState.Maximized; nr.Show(); }