<?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: Get Event in DockableWindow when Closing ArcMap in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-event-in-dockablewindow-when-closing-arcmap/m-p/721077#M19211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you found a solution you should mark you post as solved to tell others there was a solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Nov 2013 13:53:40 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2013-11-01T13:53:40Z</dc:date>
    <item>
      <title>Get Event in DockableWindow when Closing ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-event-in-dockablewindow-when-closing-arcmap/m-p/721076#M19210</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 have a DockableWindow in my ArcMap 10.1, before Closing the Program I want to do some jobs. So in the Constructor of my DockableWindow I registered the Dispose-Event:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;public dwThemes()
 {
&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.Disposed += new EventHandler(dwThemes_Disposed);
...&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the application does not come through the Event-Routine. Is there a better way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Found a Solution: the IDockableWindowDef.OnDestroy() Event&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 10:29:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-event-in-dockablewindow-when-closing-arcmap/m-p/721076#M19210</guid>
      <dc:creator>SusannSchmidt</dc:creator>
      <dc:date>2013-10-30T10:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get Event in DockableWindow when Closing ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-event-in-dockablewindow-when-closing-arcmap/m-p/721077#M19211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you found a solution you should mark you post as solved to tell others there was a solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 13:53:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-event-in-dockablewindow-when-closing-arcmap/m-p/721077#M19211</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2013-11-01T13:53:40Z</dc:date>
    </item>
  </channel>
</rss>

