<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : DockingPane in MDI Child Form :NET Dessapear</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : DockingPane in MDI Child Form :NET Dessapear]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 20:23:45 +0000</pubDate>
  <lastBuildDate>Thu, 06 Mar 2014 10:46:48 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=21713</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[DockingPane in MDI Child Form :NET Dessapear : Just a quick update on this, forgot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=72318&amp;title=dockingpane-in-mdi-child-form-net-dessapear#72318</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 21713<br /><strong>Posted:</strong> 06 March 2014 at 10:46am<br /><br />Just a quick update on this, forgot to do so quite some time ago...<br><br>I have resolved this issue. It appears that you cannot use the DockingPaneManager control within C#.Net the same way as you would in VB due to how the .Net forms initialise.<br><br>So to resolve this I had to put the initialise code for the docking pane into a reusable method for building a DockingPaneManager (not easy if you're not too sure what you're doing) and this could then be added to the load event. Works everytime now without any issues whatsoever.<br><br>See the code below:<br><br><table width="99%"><tr><td><pre class="BBcode">/// &lt;summary&gt;<br>/// Creates a DockingPaneManager object<br>/// &lt;/summary&gt;<br>/// &lt;param name="frm"&gt;&lt;/param&gt;<br>/// &lt;returns&gt;&lt;/returns&gt;<br>public static AxXtremeDockingPane.AxDockingPane DockingPaneManager(Form frm)<br>{<br>&nbsp;&nbsp;&nbsp; AxXtremeDockingPane.AxDockingPane DockingPaneManager = new AxXtremeDockingPane.AxDockingPane();<br>&nbsp;&nbsp;&nbsp; ((System.ComponentModel.ISupportInitialize)(DockingPaneManager)).BeginInit();<br>&nbsp;&nbsp;&nbsp; frm.SuspendLayout();<br><br>&nbsp;&nbsp;&nbsp; DockingPaneManager.Enabled = true;<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.Location = new System.Drawing.Point(21, 12);<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.Name = "DockingPaneManager";<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.Size = new System.Drawing.Size(24, 24);<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.TabIndex = 0;<br><br>&nbsp;&nbsp;&nbsp; frm.Controls.Add(DockingPaneManager);<br>&nbsp;&nbsp;&nbsp; ((System.ComponentModel.ISupportInitialize)(DockingPaneManager)).EndInit();<br>&nbsp;&nbsp;&nbsp; frm.ResumeLayout(false);<br><br>&nbsp;&nbsp;&nbsp; DockingPaneManager.AttachToWindow(frm.Handle.ToInt32());<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.VisualTheme = XtremeDockingPane.VisualTheme.ThemeResource;<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.Options.HideClient = true;<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.PaintManager.HighlightActiveCaption = false;<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.PaintManager.SplitterStyle = XtremeDockingPane.DockingPaneSplitterStyle.PaneSplitterSoft3D;<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.PanelPaintManager.Layout = XtremeDockingPane.XTPTabLayoutStyle.xtpTabLayoutAutoSize;<br>&nbsp;&nbsp;&nbsp; DockingPaneManager.SendToBack();<br><br>&nbsp;&nbsp;&nbsp; return DockingPaneManager;<br>}</pre></td></tr></table><br>How to use this:<br><table width="99%"><tr><td><pre class="BBcode">// Create a global DockingPaneManager variable<br>private AxXtremeDockingPane.AxDockingPane DockingPaneManager;<br><br>//In the load event, create the object and use as you would have in VB6.<br>DockingPaneManager = BSDLibrary.Codejock.DockingPaneManager(Instance);</pre></td></tr></table><br><br>You need to pass the Form instance of which you are adding the DockingPane to and that's all.<br>]]>
   </description>
   <pubDate>Thu, 06 Mar 2014 10:46:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=72318&amp;title=dockingpane-in-mdi-child-form-net-dessapear#72318</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPane in MDI Child Form :NET Dessapear : Hi,I have the same issue in C#.Net...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=71523&amp;title=dockingpane-in-mdi-child-form-net-dessapear#71523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 21713<br /><strong>Posted:</strong> 16 August 2013 at 3:39am<br /><br />Hi,<br><br>I have the same issue in C#.Net within a Child Form. I noticed that all appears to be fine with the DockingPane object when the form is opened, however when I open another form and go back to the first form with the docking panes the Action event no longer seems to work! It seems as though the Action event has disconnected itself.<br><br>Therefore when I hide and show the panes they don't repaint correctly and the only way I can get this to repaint is by calling the RecalcLayout() method in a timer object after this has been created but this is not the best way to resolve this. Can anyone from Codejock please check this out?<br><br>I have sent in a support ticket too as I need this resolved rather urgently.<br><br>EDIT: I have since discovered that this appears to be fine on several forms that use Docking Panes, the form I am having an issue with contains the TrackControl object. The code is no different from every other form yet the one with the TrackControl causes the issue.<br>]]>
   </description>
   <pubDate>Fri, 16 Aug 2013 03:39:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=71523&amp;title=dockingpane-in-mdi-child-form-net-dessapear#71523</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPane in MDI Child Form :NET Dessapear : Hi friend,Yes i got a new sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=71128&amp;title=dockingpane-in-mdi-child-form-net-dessapear#71128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3886">charlitos2</a><br /><strong>Subject:</strong> 21713<br /><strong>Posted:</strong> 18 June 2013 at 11:20am<br /><br />Hi friend,&nbsp;<div><br></div><div>Yes i got a new sample with this trouble, the details inside the form1.vb</div><div><br></div><div>is anything I doit wrong??</div><div><br></div><div><a href="uploads/3886/Test1.rar" target="_blank" rel="nofollow">uploads/3886/Test1.rar</a></div><div><img src="uploads/3886/test.png" height="780" width="1203" border="0" /><br></div>]]>
   </description>
   <pubDate>Tue, 18 Jun 2013 11:20:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=71128&amp;title=dockingpane-in-mdi-child-form-net-dessapear#71128</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPane in MDI Child Form :NET Dessapear : Could you upload a small sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=71121&amp;title=dockingpane-in-mdi-child-form-net-dessapear#71121</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 21713<br /><strong>Posted:</strong> 18 June 2013 at 8:53am<br /><br />Could you upload a small sample shell which shows the layout? &nbsp;Or possibly a picture describing it? &nbsp;Do you use aligned controls in the MDI form?]]>
   </description>
   <pubDate>Tue, 18 Jun 2013 08:53:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=71121&amp;title=dockingpane-in-mdi-child-form-net-dessapear#71121</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPane in MDI Child Form :NET Dessapear : Hello friends,I just do an aplicattion...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=71114&amp;title=dockingpane-in-mdi-child-form-net-dessapear#71114</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3886">charlitos2</a><br /><strong>Subject:</strong> 21713<br /><strong>Posted:</strong> 18 June 2013 at 1:10am<br /><br />Hello friends,<br style=": rgb248, 248, 252;"><br>I just do an aplicattion with MDI child forms, and I follow the instrucctions about create panel inside a MDI child form, but, when I run and try to move any panel, this dissapear, or qhe I create a nwe MDI child Form, last one content panel dissapear.<div><br></div><div>Please &nbsp;help me to solution this problem, because I try in the new released version 16.2 and the problem is same.</div><div><br></div><div>PD. This problem is when Main Form content a CommadBar control</div><div><br></div><div>I jus used VB.NET 2010</div><div>Test in CJ Activex 15.3.1 and 16.2</div><div>Windows 7</div>]]>
   </description>
   <pubDate>Tue, 18 Jun 2013 01:10:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21713&amp;PID=71114&amp;title=dockingpane-in-mdi-child-form-net-dessapear#71114</guid>
  </item> 
 </channel>
</rss>