質問

I'm having a problem trying to embed an ILPlotPanel inside a UserControl which will be used as a COM Component, and will be imported by a third part software.

I can put the ILPanel, but it don't render nothing (keeps the design mode visualization). In another hand the ILPlotPanel gives me a error while trying do click and drag it (VS2010) to a empty UserControl.

Here's the given error:

So the problems are:

1°. ILPanel don't render scenes while hosted by another application.

2º. In VS2010, can't click and drag the ILPlotPanel to a UserControl.

So anyone have a clue on this issues?

Thanks.

役に立ちましたか?

解決

Try the ILNumerics.Settings.IsHosted property! You can set it via code (if your Host allows it early enough) or via configuration (by using the key ILNIsHosted).

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top