コード例 #1
0
        private void addReader_Click(object sender, EventArgs e)
        {
            NewReaderForm newReader = new NewReaderForm(readers);

            newReader.Show();
            newReader.FormClosing += HandleNewReader;
        }
コード例 #2
0
        //办理借书证
        private void CardRegistor(object sender, EventArgs e)
        {
            NewReaderForm nr = new NewReaderForm();

            nr.MdiParent     = this;
            nr.StartPosition = FormStartPosition.CenterScreen;
            nr.WindowState   = FormWindowState.Maximized;
            nr.Show();
        }