Пример #1
0
        //图书出借
        private void btnBorrowBook_Click(object sender, EventArgs e)
        {
            FrmBorrowBook borrowBook = new FrmBorrowBook();

            EmbedForm(borrowBook);
            this.lblOperationName.Text = "图书出借";
        }
Пример #2
0
        //图书出借
        private void TsmiBorrowBook_Click(object sender, EventArgs e)
        {
            if (this.spContainer.Panel2.Controls.Count > 0 && this.spContainer.Panel2.Controls[0] is FrmBorrowBook)
            {
                return;
            }
            this.lblOperationName.Text = "图书出借";
            FrmBorrowBook objFrm = new FrmBorrowBook();

            ShowNewForm(objFrm);
        }