protected virtual void Dispose(bool disposing) { if (disposed) { return; } if (disposing) { cellPadding?.Dispose(); } disposed = true; }
/// <summary> /// The Dispose function. /// </summary> public void Dispose() { if (_application != null) { _application.Dispose(); } if (_windowSize != null) { _windowSize.Dispose(); } if (_windowPosition != null) { _windowPosition.Dispose(); } }