Пример #1
0
        private void 借书ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.book.bkId == 0)
            {
                return;
            }
            BorrowForm bf = new BorrowForm(0, "", book.bkId.ToString());

            bf.Show();
        }
Пример #2
0
        //还书
        private void ReturnBook(object sender, EventArgs e)
        {
            BorrowForm f = new BorrowForm(1);

            f.Show();
        }
Пример #3
0
        //续借
        private void Renew(object sender, EventArgs e)
        {
            BorrowForm f = new BorrowForm(2);

            f.Show();
        }