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
all groups > dotnet windows forms designtime > may 2004

Filter by week: 1 2 3 4 5

how to filter properties by their providers(IExtenderProvider) ?
Posted by jiusiyi NO[at]SPAM sohu.com at 5/31/2004 8:47:33 PM
Hi, There I used a few IExtenderProvider objects to provide properties to other components as extemdee. At the extendee side, I'd like to filter the properties by their "provider". I checked the PropertyDescriptor class, nothing found related the provider information. Anybody could help? ...more >>


Designer bug on form inheritance
Posted by Spartacus at 5/31/2004 3:18:27 PM
Hi all, I have a problem and I hope somebody help me ! We (a very big development team) are using VS Studio .NET 2003 on a very big vb.net project. I have this problem : Steps : 1 - Create a windows form on a project. Then put controls on this form. 2 - compile the project 3 - Create a...more >>

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

My component does not serialize CollectionBase derived property?
Posted by Ă–zden Irmak at 5/21/2004 4:36:28 PM
Hi, I created a new collection class derived from CollectionBase and my component has a property using this derived class... Although I marked my derived class as [Serializable], VS.Net designer does not serialize my component's property? Anybody has a clue? Thanks... Özden ...more >>

Making property not visible in Properties at design time
Posted by Marina at 5/21/2004 1:48:55 PM
Hi, I have a control with a property that I do not wish to be visible at design time. There is a DesignTimeVisible attribute, but that works only on classes - can't apply it to a property, which is what I really want. So its ok for the property to be accessed at run time - just don't want it ...more >>

Is Container? Designer seems to know...
Posted by schneider at 5/20/2004 11:03:52 PM
Anyone know how to determine if a control is a container control? Panel, Form, GroupBox, .. Some inherit from ScrollableControl but groupbox does not... I want to know if a control was intended to be used as a container. Thanks, Schneider ...more >>

Default Values in Properties Window
Posted by msnews.microsoft.com at 5/19/2004 12:58:26 PM
I have a class that is a subclass from User Control and I would like to have BackColor have a default value of ... oh lets say Color.White. I noticed that even if I use ResetBackColor and ShouldSearlizeBackColor, it still shows up as bold unless I actually override the property directly and pr...more >>

VS.NET 2003 doesn't honor the version of assemblies in .licx file
Posted by Brock Reeve at 5/18/2004 1:51:24 PM
VS.NET calls lc.exe at build time to extract the licenses from the types in the .licx file, but it doesn't behave the same way as if you called lc.exe from the command line stand alone. The two .licenses files generated are different even though the .licx file is the same. For example, sup...more >>

IDesignerSerializationService does not return instance
Posted by joerg NO[at]SPAM krause.net at 5/18/2004 8:37:41 AM
Hi designers, I've written my own designer following some articles postet here. It works as expected, but I cannot run design time serialization. I tried to get the right service this way: IDesignerSerializationService ds = (IDesignerSerializationService)this.host.GetService(typeof(IDes...more >>

How to make sure your component's initialization order
Posted by Tester at 5/18/2004 7:41:21 AM
Hi, How does one handle component's initialization when order is important. Here is an example, my component can be used for databinding by others. It is possible that DataGrid.DataSource=myComponent; is placed before my component's initialization by designer. I found that it just depends o...more >>

WYSIWYG Designer
Posted by Virag Gutgutia at 5/13/2004 6:12:26 PM
Hi, I am trying make a WYSIWYG Designer with Drag and drop. Something similar to the ASP.NET desginer which dosent generate code but stores the information to a database. But I am unable to find where should I start I am unable to visualize or decide what should I start with. Can anybody point ...more >>

Setting designer for form
Posted by Kent Boogaart at 5/12/2004 10:17:12 PM
Hi all, I am trying to associate a simple custom designer with an equally simple windows form. Here is what I have: public class MyDesigner : DocumentDesigner { public override DesignerVerbCollection Verbs { get { DesignerVerbCollection c = base.Verbs; c.Add(new DesignerVerb("MYV...more >>

Visual Studio SLOW!
Posted by Trygve Lorentzen at 5/11/2004 11:32:51 AM
Hi, we are using VS .NET 2003 to develop Windows Forms apps with C#... We are amazed at how slow VS works, even on top-modern computers with 1GB RAM. Drawing the form, creating new events, saving the project, everything feels sluggish. Feels like I spend more time waiting than actually working...more >>

"Unspecified Error" dragging dataset to form.
Posted by Mike Edenfield at 5/10/2004 4:06:12 PM
One of my WinForms projects has recently stopped letting me add data sets to forms or components through the visual designer. When trying to drag a dataset onto the designer I get "Unspecified Error", but no additional information. I can add the data sets through code, and they even show u...more >>

PictureBox.AllowDrop Property
Posted by Gaz at 5/7/2004 2:11:51 PM
I want to be able to set the PictureBox.AllowDrop property in the designer but it doesn't appear in the properties list. In the MSDN help files 'AllowDrop' is not even listed as a member of PictureBox! even though PictureBox is inherited from System.Windows.Forms.Control which has this property...more >>

TypeConverter fails for constructor with array parameter
Posted by darylcogswell NO[at]SPAM hotmail.com at 5/7/2004 7:08:54 AM
Hi, I am trying to build a TypeConverter for a class that accepts a String array as the only parameter in the constructor. Dim signature as ???? Dim ci As System.Reflection.ConstructorInfo = dr.GetType().GetConstructor(signature) Return New InstanceDescriptor(ci, New String() {"a", "b"}, T...more >>

is it possible to prevent control text property autoassignment on creation in the forms designer?
Posted by Bob at 5/6/2004 5:35:16 PM
I have a control whose text property I don't want automatically set on creation in the forms designer (i.e. "MyUserControl1"), I want this left blank unless the user specifically puts in a value. Is this possible? I thought about using a custom serializer, but the only thing I could come up with...more >>

Design time property collection persistence
Posted by Marina at 5/6/2004 9:31:08 AM
Hi, no matter what I do I can't seem to get this to work. I've read every post I can find on this, and none of the solutions help. Basically, I have a collection of objects, that I'd like for users to be able to add at design time using the collection editor. Here is the code for the type and ...more >>

Other options than Cristal
Posted by MajorTom at 5/5/2004 11:33:55 PM
Hi, I want to kwon any other options, opinions, experience, for reports design and integration with windows form .NET How many tools are there, which one is the best ? humm Who have the better integration with the ADO.NET dataset and memory objects ? Thanks in advance MajorTom multi...more >>

Combobox DataSource property at design time
Posted by Vasyl at 5/5/2004 5:25:53 PM
Hi all, I've created a combobox column style for the datagrid control. It works fine except of editing properties in the Visual Studio designer . In particular I want to change the property DataSource at design time. Have following code: public class DataGridComboBoxColumn : DataGridColum...more >>

Setting up TypeConverter attribute dynamically.
Posted by Oleg Slyusarchuk at 5/5/2004 9:37:58 AM
Please, help with the following. I have a property "UserName". When user names are available, I use TypeEditor: derived from StringConverter with public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) implemented, so I'm able to select ...more >>

SQL 2000 Reporting Services
Posted by MajorTom at 5/4/2004 8:10:07 PM
Is this a good solution for the reports of a desktop application using SQL Server ? Is for easy deployment of any simple application ? Please I need to decide for a report designer for windows forms applications using VS.NET, I'm not satisfied with CristalReports. Is this SQL 2000 RS the...more >>

Property Change not recognized
Posted by Dennes Oliveira via .NET 247 at 5/4/2004 11:45:06 AM
Hi ! I created a personalized uitypeeditor with a modal dialog to edit a personalized collection in my component. The problem is that when I use this dialog to edit the collection it appears that visual studio don't notice that something has changed. Visual Studio doesn't put the "*" mark on t...more >>

Password Property
Posted by Dennes Oliveira via .NET 247 at 5/4/2004 11:10:24 AM
Hi ! I created a windows control with one password property. I would like that the password appear as "*" when typed in property window. I tryed to create a TypeEditor for the password property and overrides the paintValue method, but this doesn't work. I have to problems in result : The "*" a...more >>

How to make component not to apear in toolbox?
Posted by Oleg Slyusarchuk at 5/3/2004 2:16:35 PM
I have a component that is a part of a control How make this component NOT be shown in toolbox? P.S. I know there is an attribute, I found it once, now I've spent more than 2 hours trying to figure it out. Sorry, if it too simple ...more >>

newby - where is statusbar control
Posted by CheshireCat at 5/3/2004 9:49:23 AM
Is there a palette statusbar control in vs .net please? I'm using demo version of professional and don't seem to be able to find it. thanks --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.672 / Virus Database: 434 - Releas...more >>


DevelopmentNow Blog