<?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: How to make an existing C# application to work inside ArcMap in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226361#M5901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Write a command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000066000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000066000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jun 2013 11:14:33 GMT</pubDate>
    <dc:creator>RichardWatson</dc:creator>
    <dc:date>2013-06-17T11:14:33Z</dc:date>
    <item>
      <title>How to make an existing C# application to work inside ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226360#M5900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm just getting started with ArcObjects and I could use some help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found some great tutorials and examples about building add-ins, but I am wondering if I can customize an existing windows-based application to work inside ArcMap. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a more detailed description of what i need to do. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already have a windows-based application with forms written on C# that connects to SQL Server and insert/edit/delete data through stored procedures.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These records are related to polygons through the same ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I need, is to make these forms run inside ArcMap 10.1, in order to save time for the user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example when a user clicks on the polygon, a form with data(for that specific ID) will be returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the best way of doing this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 09:58:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226360#M5900</guid>
      <dc:creator>Chriz_</dc:creator>
      <dc:date>2013-06-17T09:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an existing C# application to work inside ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226361#M5901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Write a command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000066000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000066000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:14:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226361#M5901</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-06-17T11:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an existing C# application to work inside ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226362#M5902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the link, I'll look it up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 04:34:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226362#M5902</guid>
      <dc:creator>Chriz_</dc:creator>
      <dc:date>2013-06-18T04:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an existing C# application to work inside ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226363#M5903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chriz,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could create a User control for your form by coming off of UserControl and IDockableWindowDef.&amp;nbsp; Then you can create a Command and during OnCreate use the IDockableWindowManager interface of your application object to create a new window.&amp;nbsp; This will embed the control within ArcMap and make it behave like the TOC or any other dockable control &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Try it out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// your new dockable control&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[Guid("YOUR_GUID")]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ClassInterface(ClassInterfaceType.None)]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ProgId("YOUR_PROG_ID")]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class PluginWindow : UserControl, IDockableWindowDef&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // blah blah...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// what do to in oncreate for your command&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IDockableWindowManager manager = application as IDockableWindowManager;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UID window_uid = new UIDClass();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;window_uid.Value = YOUR_NEW_CONTROLS_GUID;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_dockable_window = manager.GetDockableWindow(window_uid);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_dockable_window.Dock(esriDockFlags.esriDockRight);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// private member in you command&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IDockableWindow _dockable_window;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 11:24:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226363#M5903</guid>
      <dc:creator>JosephArmbruster</dc:creator>
      <dc:date>2013-06-18T11:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to make an existing C# application to work inside ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226364#M5904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Joseph, this is pretty useful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 04:48:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-make-an-existing-c-application-to-work/m-p/226364#M5904</guid>
      <dc:creator>Chriz_</dc:creator>
      <dc:date>2013-06-19T04:48:58Z</dc:date>
    </item>
  </channel>
</rss>

