Beispiel #1
0
        public void get_name2()
        {
            DataStoreAccess ds = new DataStoreAccess();

            Assert.AreEqual("Jathusan", ds.get_name("1"));
            ;
        }
Beispiel #2
0
        public void get2()
        {
            DataStoreAccess ds = new DataStoreAccess();


            Assert.AreEqual("nan", ds.get_name("666"));
        }
Beispiel #3
0
        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();
            }
            ;
        }
Beispiel #4
0
        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();
            }
            ;
        }