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; } if (_helper != null) { _helper.Dispose(); _helper = null; } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GiMouseHelper obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GiMouseHelper obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }