protected override void OnSlidingIn(SlickInterface.SlidingEventArgs e) { this.Reset(); _last_error = Double.MaxValue; _interactor.InteractOn(Context.EmbeddableStream.PictureBox); _interactor.UnscaledSize = Context.Setup.Camera.FrameSize; base.OnSlidingIn(e); }
protected override void OnSlidingIn(SlickInterface.SlidingEventArgs e) { lock (Context.Viewer) { Context.Viewer.SetupPerspectiveProjection( Core.BuildingBlocks.Perspective.FromCamera(Context.Setup.Camera, 1.0, 5000).ToInterop() ); Context.Viewer.LookAt( new double[] { 0, 0, 0 }, new double[] { 0, 0, 400 }, new double[] { 0, 1, 0 } ); } base.OnSlidingIn(e); }
protected override void OnSlidingOut(SlickInterface.SlidingEventArgs e) { _timer_auto.Enabled = false; base.OnSlidingOut(e); }
protected override void OnSlidingIn(SlickInterface.SlidingEventArgs e) { this.Reset(); base.OnSlidingIn(e); }
protected override void OnSlidingOut(SlickInterface.SlidingEventArgs e) //dijalankan ketika form ditutup { _timer_auto.Enabled = false; base.OnSlidingOut(e); }
protected override void OnSlidingIn(SlickInterface.SlidingEventArgs e) //dijalankan ketika pertama kali form di-load { this.Reset(); base.OnSlidingIn(e); }
protected override void OnSlidingOut(SlickInterface.SlidingEventArgs e) { _interactor.ReleaseInteraction(); base.OnSlidingOut(e); }
protected override void OnSlidingOut(SlickInterface.SlidingEventArgs e) { this.Context.FrameGrabber.OnFramePrepend -= new Parsley.Core.BuildingBlocks.FrameGrabber.OnFrameHandler(this.OnFrame); base.OnSlidingOut(e); }