{"id":5149,"date":"2014-03-30T19:14:48","date_gmt":"2014-03-30T19:14:48","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-splitcontainer-collection-of-common-programming-errors\/"},"modified":"2014-03-30T19:14:48","modified_gmt":"2014-03-30T19:14:48","slug":"problem-about-splitcontainer-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-splitcontainer-collection-of-common-programming-errors\/","title":{"rendered":"problem about splitcontainer-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/JY9wf.jpg?s=32&amp;g=1\" \/><br \/>\nTatiana Laurent<br \/>\nvisual-studio-2010 richtextbox panel splitcontainer custom-panel<br \/>\nI am using C# in a WinForm on Visual Studio 2010. I made a custompanel with 10 richtextboxes inside it. Each richtextbox refers to a column in a table of custompanels. The custompanels load inside of a splitcontainer at runtime. When the user clicks on the custompanel, it should reduce to half the size but with only 4 specific textboxes. How can I do this? To recap: I need the custompanel to reduce to 4 textboxes from 10 when the user clicks on it. Thanks in advance for any help.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/95eefde7a484edbd40d23a355771626e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAustin<br \/>\n.net visual-studio-2010 exception splitcontainer<br \/>\nIn VS2010 I had a project targeting .NET Framework 4.0 and then had to revert to target v. 3.5. Once this happened, the SplitContainer object that I had will not display and will actually throw an error: &#8220;Unable to cast object of type &#8216;System.Windows.Forms.SplitContainer&#8217; to type &#8216;System.ComponentModel.ISupportInitialize&#8217;.&#8221;Now, I did some digging and found out that 3.5 does not, in fact, have ISupportInitialize on the SplitContainer and it does in .NET 4.0. I guess my question is, if I am target<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/347fcd8327aaeedfa49a81335eef9ac3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nS\u00f6ren Kuklau<br \/>\nvb.net .net-2.0 splitcontainer design-surface<br \/>\nI&#8217;m trying to create a user control that will provide a draggable splitter between two panels &#8211; exactly like SplitContainer &#8211; in a custom IDesignerHost implementation. SplitContainer itself, as far as I can tell, is not an option; it will raise an exception unless used in Visual Studio&#8217;s Designer.My implementation would look roughly like this, except that I&#8217;m not receiving the necessary mouse events. I&#8217;ve tried event handlers, On* overrides and overriding WndProc in the user control itself, the<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tatiana Laurent visual-studio-2010 richtextbox panel splitcontainer custom-panel I am using C# in a WinForm on Visual Studio 2010. I made a custompanel with 10 richtextboxes inside it. Each richtextbox refers to a column in a table of custompanels. The custompanels load inside of a splitcontainer at runtime. When the user clicks on the custompanel, it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5149","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5149"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5149\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}