Archived Months
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
February 2008
April 2008
May 2008
June 2008


all groups > dotnet windows forms designtime > december 2005

Properties without default values at design-time
Posted by bgm at 12/29/2005 4:36:23 AM
Hi, I am creating a windows forms component with properties that do NOT have default values at design-time. The type of these properties are the primitive types (ie bool, double, int etc). public class MyComponent : Component { public bool EnableSessionState { ... } } At design...more >>

Getting the name of a control
Posted by Mario Vázquez at 12/27/2005 8:48:46 AM
Hello, I'm writing a component (inherited from Control) which is a graphic line optionaly attached to a caption text (Caption property). I would like to assign to the Caption property the name of the control, but, when I have to do this? In the constructor the control does'nt has name yet. ...more >>

What corresponds to the AssemblyFolders Registry item in VS 2005?
Posted by peter.pohmann NO[at]SPAM dataweb.de at 12/26/2005 6:48:47 PM
I am trying to migrate a VS 2003 custom control to VS 2005. There exists a custom designer for this control in a separate assembly. The designer is attached to the control via the Designer attribute using only strings instead of the types. In order for VS 2003 to find the designer assembly, I ha...more >>

How cancel a Copy operation?
Posted by Carlo (MCP only) at 12/22/2005 9:59:03 AM
Good morning this is the code I use in a container control designer to prevent that another control (any) is copied directly inside him: Public Overloads Overrides Function CanParent(ByVal aControl As Control) As Boolean Throw New Exception("Adding an item directly to the CommandBar...more >>

UserControl Design Time Error - "The specified cast is not valid."
Posted by jdeviney at 12/21/2005 10:59:39 PM
I've scanned the threads in this forum and I'm still stumped on a desig time issue. I'm relatively new to .Net Forms development so I may b overlooking something simple. I am trying to create a custom UserControl which contains anothe custom control that is an extension of TextBox. The cust...more >>

design time editvalue / uitypeeditor dirty
Posted by alex sparsky at 12/18/2005 11:58:30 AM
I have a custom collection in my c# winform ui control called Items. Items is a built in collection type that does not allow itself to be replace (you can't 'set' the itemscollection in the control). However, the contents of the Items collection is persisted through designtime. Currently th...more >>

My collection disappears
Posted by Carlo (MCP only) at 12/13/2005 5:04:29 PM
Good afternoon I've developed some controls that holds specialized collections of items (a collection of ImageItems for a ImageComboBox, a collection of MenuItems for a Toolbar, etc.). The controls and the embedded collections interacts each other correctly and everything work fine. But I'...more >>

Design time ability of Inherited Form in VS2005 (Final Release)
Posted by Binoy Patel at 12/12/2005 10:33:47 PM
Hi there, I still not understand this behaviour of VS2005 Windows Forms Designer. It is a normal practice that we create a base form and then master form and then final form. I mean let say I create BaseForm.cs which is my base form (just derived form System.Windows.Forms) then I create Mas...more >>



Memory Leak in DesignSurface
Posted by Bele din Carpati at 12/9/2005 9:30:03 PM
Seems that DesignSurface has a memory leak. Where should I report it? This can be observed by running the program bellow and push several times the <ShowDialog> and <CallGC> buttons and observe that the heap memory increase each time <ShowDialog> button is pushed. The leak can be also observed...more >>

Problem with ToolboxBitmapAttribute
Posted by Laurent at 12/9/2005 12:22:39 PM
Hi all I declare a toolbox bitmap with the attribute (ToolboxBitmapAttribute), but the image does not appears in the toolbox. I tried using typeof(Form) or a path to an icon or bitmap (16x16) but the toolbox allways displays the default icon (the gears). It was working well with the beta ...more >>

How to enumerate the forms contained in the project in design-time ?
Posted by Laurent at 12/9/2005 11:00:46 AM
Hi All, I created a designer class (inherits from ControlDesigner). In the response of one of the verbs, the designer opens a dialog box to configure the user control. I would like in this dialog box, show to the user a list of all the form contained in the project to make some association...more >>

Serialization Order for IExtenderProvider Properties
Posted by Tommy at 12/7/2005 8:12:02 AM
I have created a component that implements several properties as an Extender Provider. I store each controls location and dimensions for portrait and landscape screen orientations (for a Tablet PC app). Everything works great except that when the calls to add the extender provider properties a...more >>


DevelopmentNow Blog