protected Responder<RenderingWidget> createRendererResponder() { setupCall(); return Platform.createResponder<RenderingWidget>( delegate(RenderingWidget result) { _renderingWidgetResult = result; _latch.Signal(); }, errHandler ); }
private void onRenderStarted(RenderingWidget renderer) { renderer.Width = renderingPanel.Width; renderer.Height = renderingPanel.Height; Invoke(new AddWidgetDelegate(addWidget), new object[] { renderingPanel, renderer }); Invoke(new EnableDisableDelegate(enableButtonCallback), new object[] { stopRenderBtn }); Invoke(new EnableDisableDelegate(disableButtonCallback), new object[] { startRenderBtn }); }