Пример #1
0
 private void CheckBookInfo_ToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     CheckBookInfo checkBookInfo = new CheckBookInfo(userName);
     checkBookInfo.TopLevel = false;
     checkBookInfo.FormBorderStyle = FormBorderStyle.None;
     Info.Controls.Clear();
     Info.Controls.Add(checkBookInfo);
     checkBookInfo.Show();
 }
Пример #2
0
 public EditBook(Book b,CheckBookInfo test)
 {
     book = b;
     InitializeComponent();
     c = test;
     Book_Title.Text = book.Title;
     Book_content.Text = book.Content;
     Book_num.Text = book.Num.ToString() ;
     Book_publisher.Text = book.Publisher;
     Book_publishing_home.Text = book.Publishing_home;
     dateTimePicker1.Value = book.Date;
 }