private void onGetReportException(wgssSTU.ITabletEventsException tabletEventsException) { try { tabletEventsException.getException(); } catch (Exception e) { MessageBox.Show("Error: " + e.Message); m_tablet.disconnect(); m_tablet = null; m_penData = null; m_penTimeData = null; this.Close(); } }
private void onGetReportException(wgssSTU.ITabletEventsException tabletEventsException) { try { tabletEventsException.getException(); } catch (Exception e) { MessageBox.Show("Error: " + e.Message); Program.LogFich.Error("[Wacom_STU] onGetReportException() = " + e.ToString()); m_tablet.disconnect(); m_tablet = null; m_penData = null; this.Close(); } }