problem about splitcontainer-Collection of common programming errors


  • 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 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.

  • Austin
    .net visual-studio-2010 exception splitcontainer
    In 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: “Unable to cast object of type ‘System.Windows.Forms.SplitContainer’ to type ‘System.ComponentModel.ISupportInitialize’.”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

  • Sören Kuklau
    vb.net .net-2.0 splitcontainer design-surface
    I’m trying to create a user control that will provide a draggable splitter between two panels – exactly like SplitContainer – 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’s Designer.My implementation would look roughly like this, except that I’m not receiving the necessary mouse events. I’ve tried event handlers, On* overrides and overriding WndProc in the user control itself, the

Web site is in building