public void get_name2() { DataStoreAccess ds = new DataStoreAccess(); Assert.AreEqual("Jathusan", ds.get_name("1")); ; }
public void get2() { DataStoreAccess ds = new DataStoreAccess(); Assert.AreEqual("nan", ds.get_name("666")); }
private void button1_Click(object sender, EventArgs e) { if (recognize() != 0) { label2.Show(); label3.Show(); label4.Show(); label5.Text = data.get_name(recognize().ToString()); label7.Text = recognize().ToString(); button2.Show(); } ; }
private void button1_Click(object sender, EventArgs e) { int tr = recognize(); // Recognition started if (tr != 0) { label2.Show(); label3.Show(); label4.Show(); label5.Text = data.get_name(tr.ToString()); // button3.Show(); label7.Text = tr.ToString(); } ; }