public FormDetail(FormManage form3, BookShelf shelf, Client client)//从图书管理界面的添加书籍进入 { InitializeComponent(); this.Flag = 3; resPath = BookShelfService.findPath(); this.currentShelf = shelf; this.currentClient = client; this.formManage = form3; this.shelfIdTextBox.Text = shelf.BookShelfId; this.shelfIdTextBox.ReadOnly = true; this.appointButton.Visible = false; this.lendButton.Visible = false; this.recommendButton.Visible = false; }