Exemplo n.º 1
0
        private void xk60_80_1_DeviceUnplug(XK_60_80.XKeyPlugEventArgs e)
        {
            deviceStatus.Text      = "XK-80/XK-60 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.º 2
0
        private void xk60_80_1_DevicePlug(XK_60_80.XKeyPlugEventArgs e)
        {
            deviceStatus.Text      = "XK-80/XK-60 Plugged, Unit ID: " + e.UID.ToString() + ", OEM ID: " + e.OEMVersionID.ToString() + ", Product ID: " + e.PID.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();

            saveabsolutetime = -1;
        }