Ejemplo n.º 1
0
 public static void OnEventSeven(SerialNumberEventArgs e)
 {
     if (serialNumber != null)
         serialNumber(new object(), e);
     
 }
Ejemplo n.º 2
0
        private void btUpdate_Click(object sender, RoutedEventArgs e)
        {
            List<Dictionary<string, string>> list = new List<Dictionary<string, string>>();

            DataView dt = new DataView();

            dt = (DataView)dtSeries.ItemsSource;

            foreach (DataRow item in dt.Table.Rows)
            {
                Dictionary<string, string> temp = new Dictionary<string, string>();
                
                temp.Add(item["NumSerie_Decoder"].ToString(), item["NumSerie_Cartao"].ToString());
                list.Add(temp);

            }

            SerialNumberEventArgs ee = new SerialNumberEventArgs();
            ee.lista = list;
            //OnEventSeven(ee);

            //add_NumSeriesCompras(list, count);

            add_numSerieComprasTempBd(list);

            Close();

        }