public WPFTempCanvas(GiCoreView coreView, GiView view) { this._coreView = coreView; this._view = view; this._adapter = new WPFCanvasAdapter(); _helper = new GiMouseHelper(this._view, this._coreView); this.MouseDown += new MouseButtonEventHandler(TempCanvas_MouseDown); this.MouseUp += new MouseButtonEventHandler(TempCanvas_MouseUp); }
public void clean() { _coreView = null; _view = null; if (_adapter != null) { _adapter.Dispose(); _adapter = null; } }
public WPFMainCanvas(GiCoreView coreView, GiView view) { this._coreView = coreView; this._view = view; this._adapter = new WPFCanvasAdapter(); }