예제 #1
0
 protected virtual void Dispose(bool disposing) => _event?.Dispose(disposing);
예제 #2
0
 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);
 }