intermittant exception at GetObject("$this.Icon")
Mon, 5 Mar 2007 18:46:33 -0600
While debugging a 3rd party code, I occasionally get an exception at
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
That above line of code is generated by the VS7.1 designer and if I put a
try - catch about it I can trap the error to the effect of ...
"resource is not a stream ...
|
adding DesignerActionLists to form when designer host has loaded
the form
Mon, 05 Mar 2007 14:02:59 +0100
Hello,
my Visual Studio install refuse to load any addins, nothing shows up in the addin manager. I tried wizard created addins and some I found in the internet. Apart from reinstalling Visual Studio is there anything I can try? I think I've used addins before so it got broke somehow.
Normally I prefer macro ...
|
DesignerActionList and ICustomTypeDescriptor
Sun, 04 Mar 2007 15:26:51 +0100
Hello,
did anybody try to do this? Did it work? Reflector showed non of the framework inheritors of DesignerActionList do implement any interface.
thx
stax ...
|
Designer Controls With ArrayList type property.
Fri, 02 Mar 2007 10:00:58 -0500
Hi;
I'm doing a UserControl and add a ArrayList type property. But this property is not set correctly in
design time from Designer.
What is the better way to do it?
Thanks
Alvaro. ...
|
How do I set DesignerSerializationVisibility on inherited properties?
Fri, 2 Mar 2007 14:23:32 -0000
Hi,
I've created a control which inherits from the ListView class.
In the constructor I create 2 columns and add a two items to propulate
a row. This is all ok, when I use the control at design time my constructor
is called and I see the columns and data. However, at runtime, it creates
duplicate rows beca ...
|
Adding attributes to properties or fields at design time.
Thu, 01 Mar 2007 17:26:02 +0100
I have a component that does some interesting stuff exposing the member
properties of a child control within a usercontrol properties of the
parent control using a TypeDescriptionProvider.
Effectively, instead of dropping a text box on a control and then
writing a property to expose the textbox's Text pro ...
|
InheritedPropertyDescriptor vs. ReflectedPropertyDescriptor
Wed, 28 Feb 2007 16:58:00 -0800
Hello,
I wonder if anyone can explain the difference between
InheritedPropertyDescriptor vs. ReflectedPropertyDescriptor classes? I'm
writing my own designer based on the .NET design time framework. I've got a
custom design surface and am performing custom serialization with my own
designer loader.
...
|
|
|
Screen dimensions
Mon, 26 Feb 2007 02:22:10 -0800
Hi!
I need to create a form and fill it with a number of button decided at
run-time..then I need to create this buttons according to their number such
that they adapt on the whole screen dimension..
Is there any property or anything that tells me this?
Thanx!!!
Davide ...
|
How to customize the form
Thu, 22 Feb 2007 23:16:16 -0800
Hi,
I am creating windows form at the run time and also i am setting the
FormBorderStyle to FixedSingle. So that the form comes with some standard
size, but i wanted to customize the form size.. How can i customize the form
size with FormBorderStyle property as FixedSingle.. Even when i tried with
setti ...
|
How to use WebFormsRootDesigner with DesignSurface?
Thu, 22 Feb 2007 11:31:17 -0800
Can anyone shed light on using WebFormsRootDesigner with DesignSurface to
create a visual designer for webforms? Class descriptions suggest this is
do-able, but adequate documentation and description of usage seem
non-existent on MSDN and wider searches yield nothing but others with the
same question. ...
|