// private System.ComponentModel.Container components = null;
 public yiyoutushu()
 {
     InitializeComponent();
     sqlConnection1         = new SqlConnection(dbconnection.connection);
     sqlCommand1            = new SqlCommand();
     sqlCommand1.Connection = sqlConnection1;
     ts = new LibraryManage();
 }
Exemple #2
0
 // private System.ComponentModel.Container components = null;
 public Tushuxinxi()
 {
     InitializeComponent();
     sqlConnection1         = new SqlConnection(dbconnection.connection);
     sqlCommand1            = new SqlCommand();
     sqlCommand1.Connection = sqlConnection1;
     //add = false;
     libraryManage = new LibraryManage();
     //MessageBox.Show("没有写图书编号!", "警告");
 }