Exemplo n.º 1
0
        private void LogManagement_Load(object sender, EventArgs e)
        {
            if (m_DeviceType == BSSDK.BS_DEVICE_BEPLUS)
            {
                deviceInfo.Text = "BioEntry Plus " + m_DeviceID.ToString();
            }
            else if (m_DeviceType == BSSDK.BS_DEVICE_BIOLITE)
            {
                deviceInfo.Text = "BioLite Net " + m_DeviceID.ToString();
            }
            else
            {
                deviceInfo.Text = "BioStation " + m_DeviceID.ToString();
            }

            Cursor.Current = Cursors.WaitCursor;

            int result = BSSDK.BS_GetLogCount(m_Handle, ref m_NumOfLog);

            Cursor.Current = Cursors.Default;

            if (result != BSSDK.BS_SUCCESS)
            {
                MessageBox.Show("Cannot read log count", "Error");
                return;
            }

            numOfLog.Text = m_NumOfLog.ToString();
        }