Inheritance: global::System.IDisposable
Beispiel #1
0
 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);
 }
Beispiel #2
0
 internal static HandleRef getCPtr(GiMouseHelper obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #3
0
 internal static HandleRef getCPtr(GiMouseHelper obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #4
0
 public void clean()
 {
     _coreView = null;
     _view = null;
     if (_adapter != null)
     {
         _adapter.Dispose();
         _adapter = null;
     }
     if (_helper != null)
     {
         _helper.Dispose();
         _helper = null;
     }
 }