Ejemplo n.º 1
0
        private void btnIdentifyOut_Click(object sender, EventArgs e)
        {
            List <string> groupIds = new List <string>();

            groupIds.Clear();
            DataSet1TableAdapters.PersonGroupTBLTableAdapter groupTBL = new DataSet1TableAdapters.PersonGroupTBLTableAdapter();
            DataTable dt_person = groupTBL.GetPersonGroupID();

            foreach (DataRow dr in dt_person.Rows)
            {
                groupIds.Add(dr["_groupId"].ToString());
            }

            foreach (string _groupId in groupIds)
            {
                IdentifyOUT(_groupId);
            }
        }
Ejemplo n.º 2
0
        private async void btnIdentify_Click(object sender, EventArgs e) //Identifikace obrazku pomoci tlacitka -- tato funkce bude pouzita automaticky pomoc Oflline detekovani.
        {
            List <string> groupIds = new List <string>();

            groupIds.Clear();
            DataSet1TableAdapters.PersonGroupTBLTableAdapter groupTBL = new DataSet1TableAdapters.PersonGroupTBLTableAdapter();
            DataTable dt_person = groupTBL.GetPersonGroupID();

            foreach (DataRow dr in dt_person.Rows)
            {
                groupIds.Add(dr["_groupId"].ToString());
            }

            foreach (string _groupId in groupIds)
            {
                IdentifyIN(_groupId);
            }
        }