public ViewControl( SimpleTransformationProviderBase transformationProvider) { this.method_0(); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.DoubleBuffer, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetTransformationProvider(transformationProvider); }
public void SetTransformationProvider( SimpleTransformationProviderBase transformationProvider) { if (this.simpleTransformationProviderBase_0 != null) { this.simpleTransformationProviderBase_0.TransformsChanged -= new EventHandler(this.method_3); } this.simpleTransformationProviderBase_0 = transformationProvider; transformationProvider.TransformsChanged += new EventHandler(this.method_3); this.simplePanInteractor_0 = new SimplePanInteractor(transformationProvider); this.simpleRotateInteractor_0 = new SimpleRotateInteractor(transformationProvider); this.simpleRectZoomInteractor_0 = new SimpleRectZoomInteractor(transformationProvider); this.simpleZoomWheelInteractor_0 = new SimpleZoomWheelInteractor(transformationProvider); this.iinteractorWinFormsDrawable_0 = (IInteractorWinFormsDrawable) new SimpleRectZoomInteractor.WinFormsDrawable(this.simpleRectZoomInteractor_0); this.iinteractorWinFormsDrawable_1 = (IInteractorWinFormsDrawable) new SimpleRotateInteractor.WinFormsDrawable(this.simpleRotateInteractor_0); }
protected SimpleInteractor( SimpleTransformationProviderBase transformationProvider) { this.simpleTransformationProviderBase_0 = transformationProvider; }