private void NFCHandleForm_NfcError(object sender, NfcErrorEventArgs e) { string errorNum1 = Convert.ToString(e.Error[0], 16); string errorNum2 = Convert.ToString(e.Error[1], 16); MessageBox.Show(this, "Error(" + errorNum1 + "," + errorNum2 + ")"); Close(); }