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

            foreach (var i in VisitService.getGatesID())
            {
                list.Add(i.id.ToString());
            }
            cb_gateID.ItemsSource = list;
        }