all groups > dotnet windows forms designtime > may 2004 > threads for may 22 - 28, 2004
Filter by week: 1 2 3 4 5
Designer problem: with it I can add controls to control, with it I can't
Posted by gkelly at 5/28/2004 3:29:39 PM
I have a control that I wrote that acts as a layout manager so when I drop
controls onto it in the designer it will automatically move and resize them
based on certain properties. This works fine. However, there are times
that after I move some of the child controls around manually, I'd like t... more >>
Specified cast is not valid after closing and opening solution
Posted by Frank Hileman at 5/27/2004 12:01:48 PM
Hello,
We have an assembly load problem with a custom root designer we have
constructed. We separated our designer classes and run-time classes into two
separate dlls, and put them in two separate directories upon installation.
Both of the directories are added to the registry at
HKEY_LOCAL... more >>
Designer properties of a control losing/resetting values when placed on a form
Posted by Frustrated at 5/27/2004 6:03:48 AM
I have developed a number of custom control components and given them a number
of design time properties. Serialisation works most of the time but sometimes
after building, certain properties will magically reset to their default values
.... even though the code in the InitializeComponent call sa... more >>
what control designer does TabControl use?
Posted by Bob at 5/26/2004 7:18:00 PM
I need to inherit from it so I can remove access to a few properties in the
designer. If I use a designer inherited from ParentControlDesigner I lose
design-time mouse events.
Bob
... more >>
changing backcolor of tabcontrol
Posted by Paiam Salavati at 5/25/2004 9:51:37 AM
I have to change the BackColor of a TabControl.
therefore I have overriden the onPaint-Method of TabControl like this:
Rectangle rectangle = new Rectangle(0, 0, this.Width, this.Height);
SolidBrush brush = new SolidBrush(Color.YellowGreen);
e.Graphics.FillRectangle(brush, rectangle);
... more >>
Making non expandable properties that point to objects
Posted by Marina at 5/24/2004 2:03:12 PM
Hi,
Let's say I have a property on a usercontrol that is of type Label. In the
dropdown I get a list of all labels on the form, and can pick one - this is
great.
However, as soon as I pick one, there is a '+' that shows up, which can be
expanded, and various properties of this label may no... more >>
Querying components in ComponentTray.
Posted by KK at 5/24/2004 10:38:35 AM
Hi
I am developing a user control and for that
I need to query the component tray controls
to find out wether there are any controls
such as errorProvider added to the project.
If so, I have to list them in my user controls
property browser. The problem is that
I couldn't found any in... more >>
|