public program_input() { InitializeComponent(); dbinfo = new DBInfo(); unilist = new NCcodeList(dbinfo); listBox2.DataBindings.Add("DataSource", unilist, "ShowWrongList"); listBox1.DataBindings.Add("DataSource", unilist, "ShowNCList"); }
public void DBInfoTest() { DBInfo dbi = new DBInfo(); Assert.AreNotEqual(dbi.DBfstTable.Count(), 0); }