Exemplo n.º 1
0
 private void xk24_1_DeviceUnplug(Xk24.XKeyPlugEventArgs e)
 {
     //System.Media.SystemSounds.Beep.Play();
     deviceStatus.Text      = "XK-24 Unplugged, Unit ID: " + e.UID.ToString() + ", OEM ID: " + e.OEMVersionID.ToString() + ", Product ID: " + e.PID.ToString() + " " + testcnt.ToString();
     deviceStatus.ForeColor = Color.Red;
     lblUID.Text            = "Unit ID: ";
     lblOEM.Text            = "OEM ID: ";
     lblProductID.Text      = "Product ID: ";
 }
Exemplo n.º 2
0
        private void HandleUnplug(Xk24.XKeyPlugEventArgs e)
        {
            deviceStatus.Text      = "XK-24 Unplugged, Unit ID: " + e.UID.ToString() + ", OEM ID: " + e.OEMVersionID.ToString() + ", Product ID: " + e.PID.ToString();
            deviceStatus.ForeColor = Color.Red;

            lblUID.Text       = "Unit ID: ";
            lblOEM.Text       = "OEM ID: ";
            lblProductID.Text = "Product ID: ";
        }
Exemplo n.º 3
0
        private void xk24_1_DevicePlug(Xk24.XKeyPlugEventArgs e)
        {
            deviceStatus.Text      = "XK-24 Plugged, Unit ID: " + e.UID.ToString() + ", OEM ID: " + e.OEMVersionID.ToString() + ", Product ID: " + e.PID.ToString() + " " + testcnt.ToString();
            deviceStatus.ForeColor = Color.Green;

            lblUID.Text       = "Unit ID: " + e.UID.ToString();
            lblOEM.Text       = "OEM ID: " + e.OEMVersionID.ToString();
            lblProductID.Text = "Product ID: " + e.PID.ToString();
        }
Exemplo n.º 4
0
 private void xk24_1_DevicePlug(Xk24.XKeyPlugEventArgs e)
 {
     HandlePlug(e);
 }