コード例 #1
0
ファイル: Main.cs プロジェクト: caogang/Library
 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
ファイル: EditBook.cs プロジェクト: caogang/Library
 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;
 }