all groups > dotnet windows forms designtime > july 2005
IDesignerHost and the RootComponent
Posted by Graham Allwood at 7/27/2005 10:57:16 AM
Hi,
in the DesignHost why should the RootComponent be a Form even when the class
you may be designing is derived from a form?
Take for example a simple object graph of: (A form with 2 buttons and a user
control):
<MyForm>
<button>
<textbox>
<MyUserControl>
When loading... more >>
Container control in designtime
Posted by Monarghel at 7/25/2005 12:36:03 PM
Hi there,
I am stuck in that, so I need your help. I designed a user control, which is
mainly a GroupBox (GB). When I drag a control in the GB, the new control (NC)
seems to be behind the GB. When I move my GB, the NC appears until I stop
moving the GB. At runtime, the NC does not show up. ... more >>
DesignTime bug with usercontrol textbox...workaround?
Posted by Robert Conde at 7/21/2005 3:48:39 PM
If you place a textbox on a user control...then put that user control on a
form with a panel, then move the control to the panel, you then can activate
the textbox. In other words it no longer thinks it's in designMode. Anybody
know of this issue or a workaround?
Robert Conde
... more >>
Why my component appears gray in the toolbox.
Posted by Mihaela Barbu via DotNetMonster.com at 7/13/2005 8:31:44 AM
I don't understand why my component appears gray in the toolbox. I added the
[ToolboxItemFilter("NETCF", ToolboxItemFilterType.Require)]
[ToolboxItemFilter("System.CF.Windows.Forms", ToolboxItemFilterType.Custom)]
attributes in my component.
Can someone help me please....
--
Message poste... more >>
Readonly CollectionEditor?
Posted by webcliff NO[at]SPAM gmail.com at 7/11/2005 8:11:38 AM
Hello,
Is there a way to make the CollectionEditor readonly?
Looks like CollectionEditor uses CollectionForm, and CollectionForm
includes this field:
internal virtual bool CollectionEditable { get; set; }
Anyone have any experience with that?
Thanks
webcliff
... more >>
Designing controls that have parameters in constructors
Posted by Alex at 7/7/2005 3:25:46 PM
Hello,
[ Using C# in VS 2003 ]
I want to have a control with a constructor that accepts several =
parameters.
Unfortunately, the Visual Studio designers insist on parameterless =
constructors.
The problem is, exposing a parameterless constructor may create the =
object in an inconsisten... more >>
|