I create MyFormManager Usercontrol.
=>
Public Class MyFormManager Inherits Infragistics.Win.UltraWinForm.UltraFormManager
End Class
runtime... An error flies when you doubleclick on the icon.
Hello,
Thank you very much for your clarification.
I have been researching ways to do this and unfortunately it seems that this is directly handled by Visual Studio and there isn’t a way to tell the UserControl to automatically add the Infragistics references. Only the UserControl assembly reference is added which internally references the dlls which are needed for our controls inside it. When you add the UserControl to some form in another project you will need to manually add the Infragistics references that you need.
Please let me know if you have any additional questions.
This is Hanpyo Choi, a co-worker with Ms. Min in Integvision co, ltd.
It seems that you misunderstood the point of the question, because of English problem. :(
The main point of the question was that -
when I put a Infragistics control such as UltraGrid on a WinForm, refereneces for UltraGrid (e.g. Infragisitcs4.Win.UltraWinGrid.v13.2) are attached on the Solution Explorer AUTOMATICALLY, but it does NOT happen when I try to use my own user control that inherits from UltraGrid.
That means even though I put my own user control on a WinForm, the references (e.g. Infragisitcs4.Win.UltraWinGrid.v13.2) does not appear automatically, and I have to do it manually.Is there any way to set up the references automatically when I just put my user control?
Actually, I have another question also, which might be relevant to the upper problem, I guess.Whenever I put my own user control, it appears on the form successfully, but the 'licenses.licx' file does not appear automatically.It creates the file(licenses.licx) when I try the genuine Infragistics controls, but it doesn't when I try my own user control that inherits from Infragistics controls.Is there any way to create the licenses.licx file automatically when I just use my own control that inherits from Infragistics controls?
I'll be waiting for your kind answer :)Thank you.
Hanpyo Choi
Hello Min,
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
Then another option is to add the UserControl project to your solution and then reference the UserControl project in the project that you will use it. Then you can add the UserControl to your forms and you won’t need to worry about the references.
I mean add my usercontrol dll I created in other projects.
so I can see the usercontrol in toolbox.and then I add the usercontrol on the form. but it doesn't automatically add Infragistics dll.(Infragistics4.Shared.v13.2, Infragistics4.Win.Misc.v13.2...Infragistics4.Win.v13.2...)
I want to be automatically reference infragistics dll