<?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 Dock Form inside AutoCAD in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/dock-form-inside-autocad/m-p/8858791#M22046</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made a windows form that automates large portions of AutoCAD processes. Is there any way to dock this form inside AutoCAD , like a tool pallette? Or do I need to start from scratch with a custom toolbar? Currently I am typing in a command, which opens the form. It is then loose and often gets forgotten underneath the other AutoCAD windows once AutoCAD comes into focus, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2019 21:22:25 GMT</pubDate>
    <dc:creator>mcoH3VZV</dc:creator>
    <dc:date>2019-06-18T21:22:25Z</dc:date>
    <item>
      <title>Dock Form inside AutoCAD</title>
      <link>https://forums.autodesk.com/t5/net-forum/dock-form-inside-autocad/m-p/8858791#M22046</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made a windows form that automates large portions of AutoCAD processes. Is there any way to dock this form inside AutoCAD , like a tool pallette? Or do I need to start from scratch with a custom toolbar? Currently I am typing in a command, which opens the form. It is then loose and often gets forgotten underneath the other AutoCAD windows once AutoCAD comes into focus, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 21:22:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dock-form-inside-autocad/m-p/8858791#M22046</guid>
      <dc:creator>mcoH3VZV</dc:creator>
      <dc:date>2019-06-18T21:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dock Form inside AutoCAD</title>
      <link>https://forums.autodesk.com/t5/net-forum/dock-form-inside-autocad/m-p/8858871#M22047</link>
      <description>&lt;P&gt;You probably need to understand when to show the Form/UI as Modal, or Modeless Form/Window. Also, do not use Win Form's built-in Form.Show()/ShowDialog() to show form in AutoCAD. Instead, use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Autodesk.AutoCAD.ApplicationServices.Application.ShowModal[Modeless]Dialog[Window]()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For docking UI, you can look at Autodesk.AutoCAD.Windows.PaletteSet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, for Modeless form/window, or PaletteSet, it usually should be declared as static/Shared in class level, so that only singleton of the UI is created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 22:03:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dock-form-inside-autocad/m-p/8858871#M22047</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2019-06-18T22:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dock Form inside AutoCAD</title>
      <link>https://forums.autodesk.com/t5/net-forum/dock-form-inside-autocad/m-p/8859222#M22048</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll find a minimalist example about creating a PaletteSet &lt;A href="https://forums.autodesk.com/t5/net/set-new-paletteset-quot-mypalette-quot-guid-newguid-bug/m-p/8483684/highlight/true#M61076" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;here&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 05:12:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dock-form-inside-autocad/m-p/8859222#M22048</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2019-06-19T05:12:02Z</dc:date>
    </item>
  </channel>
</rss>

