internal Preference(GLPanel target) { _target = target; _tolerance = 0.2f; _aliased = true; }
public virtual bool Dispose() { if (IsUpdating) { NeedDispose = true; return(false); } if (_isDisposed) { return(false); } _isDisposed = true; NeedDispose = false; _DisposeModels(); _context1?.Dispose(); _context1 = null; _context2?.Dispose(); _context2 = null; _panel = null; return(true); }
public void Dispose() { _target = null; }