示例#1
0
        //新书上架
        private void btnBookNew_Click(object sender, EventArgs e)
        {
            FrmNewBook newBook = new FrmNewBook();

            EmbedForm(newBook);
            this.lblOperationName.Text = "新书上架";
        }
示例#2
0
        //图书上架
        private void TsmiBookNew_Click(object sender, EventArgs e)
        {
            if (this.spContainer.Panel2.Controls.Count > 0 && this.spContainer.Panel2.Controls[0] is FrmNewBook)
            {
                return;
            }
            this.lblOperationName.Text = "图书上架";
            FrmNewBook objFrm = new FrmNewBook();

            ShowNewForm(objFrm);
        }