예제 #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");

        }
예제 #3
0
 public void DBInfoTest()
 {
     DBInfo dbi = new DBInfo();
     Assert.AreNotEqual(dbi.DBfstTable.Count(), 0);
 }