示例#1
0
 public program_input()
 {
     InitializeComponent();
     dbinfo  = new DBInfo();
     unilist = new NCcodeList(dbinfo);
     listBox2.DataBindings.Add("DataSource", unilist, "ShowWrongList");
     listBox1.DataBindings.Add("DataSource", unilist, "ShowNCList");
 }
示例#2
0
        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);
 }