private void ProcessGraphicsData() { if (memStatus == MEMORY_STATUS.DISCONNECTED) { return; } try { GraphicsData graphicsData = ReadGraphicsData(); OnGraphicsUpdated(new GraphicsEventArgs(graphicsData)); } catch (MemoryNotActiveException) { } }
public GraphicsEventArgs(GraphicsData graphicsData) { this.GraphicsData = graphicsData; }