public override void Dispose() { if (this.Handle != IntPtr.Zero) { D2D.DestroyGeometry(this.Handle); } this.handle = IntPtr.Zero; }