<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS Conrols in different Windows Forms (Communication) in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682875#M18373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can put the controls on separate forms with no problems.&amp;nbsp; You will have to set the buddy control property through code instead of through the designer.&amp;nbsp; For instance, if you have Form1 that contains a map control named AxMapControl1 and Form2 which contains a TOC control named axTocControl1 then this is what the code would look like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;axTOCControl1.SetBuddyControl(Form1.AxMapControl1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would need to call this code prior to showing Form2 (like in the form's Load event).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Feb 2011 12:38:58 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2011-02-14T12:38:58Z</dc:date>
    <item>
      <title>ArcGIS Conrols in different Windows Forms (Communication)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682868#M18366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new in ArcGIS Engine an C# Development.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I solve this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What happens with the LicenceControl?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 06:43:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682868#M18366</guid>
      <dc:creator>MichaelBreitfeld</dc:creator>
      <dc:date>2011-02-14T06:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Conrols in different Windows Forms (Communication)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682869#M18367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm new in ArcGIS Engine an C# Development.&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;How can I solve this problem?&lt;BR /&gt;What happens with the LicenceControl?&lt;BR /&gt;&lt;BR /&gt;Thank you very much!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HI,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I dont know what exactly you are looking for .. as per my understanding...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to have arcgis engine runtime if you want to use arcgis engine controls.. on windows form...if you dont have arcgis engine not installed in you computer ... You will get licence error....Now tell me what you are looking for..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 08:29:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682869#M18367</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2011-02-14T08:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Conrols in different Windows Forms (Communication)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682870#M18368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to explain it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have ArcGIS Engine 2010 Developer Kit and VS2010.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My questions: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How works the communication between these separate forms? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The BuddyControl only finds connections in the same Windows Form (default case, find in ESRI help).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you help me, please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 08:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682870#M18368</guid>
      <dc:creator>MichaelBreitfeld</dc:creator>
      <dc:date>2011-02-14T08:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Conrols in different Windows Forms (Communication)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682871#M18369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;I try to explain it.&lt;BR /&gt;I have ArcGIS Engine 2010 Developer Kit and VS2010.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;My questions: &lt;BR /&gt;How works the communication between these separate forms? &lt;BR /&gt;Is it possible?&lt;BR /&gt;&lt;BR /&gt;The BuddyControl only finds connections in the same Windows Form (default case, find in ESRI help).&lt;BR /&gt;&lt;BR /&gt;Can you help me, please?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is what... like you suppose to install Arc Engine runtime.. if you want to use arc engine control on windows form...if you installed arcengine runtime..controls will be integrating with VS.net...namespace will be integrated with VS.net framework..Something like Cristal reports controls ..etc.. Licence control will be playing as key for Licences.. and BudyControl depends on parent control.. something like if map control and Toc control... Map control will playing role as buddycotnrol for TocControl....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 09:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682871#M18369</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2011-02-14T09:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Conrols in different Windows Forms (Communication)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682872#M18370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that's right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I get an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two windows forms: frmMap.cs and frmToc.cs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no connection between MapControl and TocControl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code in frmToc.cs ends in an error, because I cannot reference the axMapControl1 object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this.axTOCControl1.SetBuddyControl(......);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a solution for this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 10:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682872#M18370</guid>
      <dc:creator>MichaelBreitfeld</dc:creator>
      <dc:date>2011-02-14T10:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Conrols in different Windows Forms (Communication)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682873#M18371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, that's right.&lt;BR /&gt;&lt;BR /&gt;But I get an error.&lt;BR /&gt;I have two windows forms: frmMap.cs and frmToc.cs&lt;BR /&gt;There is no connection between MapControl and TocControl.&lt;BR /&gt;&lt;BR /&gt;Code in frmToc.cs ends in an error, because I cannot reference the axMapControl1 object.&lt;BR /&gt;&lt;BR /&gt;this.axTOCControl1.SetBuddyControl(......);&lt;BR /&gt;&lt;BR /&gt;Is there a solution for this problem?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should not use two windows forms.. you should use only use one windows form ..and you need to add the controls..then you will get those...if not then tell me your task...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 10:50:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682873#M18371</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2011-02-14T10:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Conrols in different Windows Forms (Communication)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682874#M18372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, one windows form is ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But not realize in my case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Main - Application is based on some windows forms.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This new Gis-Application should be integrated in this concept.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Ideas, thanks a lot?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 12:08:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682874#M18372</guid>
      <dc:creator>MichaelBreitfeld</dc:creator>
      <dc:date>2011-02-14T12:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Conrols in different Windows Forms (Communication)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682875#M18373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can put the controls on separate forms with no problems.&amp;nbsp; You will have to set the buddy control property through code instead of through the designer.&amp;nbsp; For instance, if you have Form1 that contains a map control named AxMapControl1 and Form2 which contains a TOC control named axTocControl1 then this is what the code would look like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;axTOCControl1.SetBuddyControl(Form1.AxMapControl1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would need to call this code prior to showing Form2 (like in the form's Load event).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 12:38:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-conrols-in-different-windows-forms/m-p/682875#M18373</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-02-14T12:38:58Z</dc:date>
    </item>
  </channel>
</rss>

