protected virtual void Dispose(bool disposing) => _event?.Dispose(disposing);
protected virtual void Dispose(bool disposing) { // We need this because of IDeviceContext, but we historically didn't take ownership of the Graphics // object, so there is nothing to do here unless we specifically created the Graphics object. _event.Dispose(true); }