Hello,
I'm new in ArcGIS Engine an C# Development.
Is it possible to connect ArcGIS Controls (TocControl, MapControl, ToolbarControl,...) in different windows form elements? All Controls in one windows form it is easy with the help of the BuddyControl (Esri-Help).
How can I solve this problem?
What happens with the LicenceControl?
Thank you very much!
Hi,
I try to explain it.
I have ArcGIS Engine 2010 Developer Kit and VS2010.
The goal is to create an application with ArcGIS Engine. This application consists of several windows forms elements. And in these elements the different Controls were placed.
My questions:
How works the communication between these separate forms?
Is it possible?
The BuddyControl only finds connections in the same Windows Form (default case, find in ESRI help).
Can you help me, please?
Thank you.
Yes, that's right.
But I get an error.
I have two windows forms: frmMap.cs and frmToc.cs
There is no connection between MapControl and TocControl.
Code in frmToc.cs ends in an error, because I cannot reference the axMapControl1 object.
this.axTOCControl1.SetBuddyControl(......);
Is there a solution for this problem?
Thank you.