private void button2_Click(object sender, EventArgs e)
 {
     if (listView1.SelectedIndices.Count < 1)
     {
         System.Console.WriteLine("Please select reader first!");
     }
     else
     {
         textBox3.Text = "Please wait, connecting..." + Environment.NewLine;
         _reader.rfid.OnStateChanged += new EventHandler <CSLibrary.Events.OnStateChangedEventArgs>(StateChangedEvent);
         _reader.ConnectAsync(CSLibrary.DeviceFinder.GetDeviceInformation(listView1.SelectedIndices[0]));
     }
 }