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 2005

DesignTime property
Posted by Egil Winther at 5/30/2005 10:00:45 AM
Hi, We're having a problem with the forms DesignMode property which is always false. I checked around, and found that the forms Site property is null. Does anyone know how this can happen, and what to do about it? Rgds Egil Winther ShipNet AS ...more >>


Extremly slow design time peformance (ARGH!)
Posted by TEK at 5/27/2005 12:00:00 AM
This is killing both me and the project. We're working on a farly large project. The code is divided in two parts. One solution that holds all business layer projects (9 projects, some small and some large) One solution that holds the UI projects (6 project, 3 exe, 1 small control librar...more >>

How do I stop the designer from assigning properties to my usercontrols?
Posted by Jim at 5/26/2005 12:00:00 AM
I have some complex (fairly) user controls that I have created. Some of those user controls host other user controls. When I host one of these on a WinForm, I sometimes run into problems where the designer blows up with an "Object Reference Not Set to an Instance of an Object". Sometimes it e...more >>

Designer for container control
Posted by Michael Powell at 5/26/2005 12:00:00 AM
I've created a container control based object that needs a design time editor. I've created one based on ControlDesigner but there are several problems: My control no longer behaves as a container control (it will not allow me to place objects within it). The designer allows me to change a ...more >>

an issue using ExpandableObjectConverter
Posted by D.Z. Simpson at 5/23/2005 12:00:00 AM
Using the following ExpandableObjectConverter-derived class leads to a most strange issue. The ConvertTo method receives an 'Object value' argument that is supposed to be of my own Style class. That Style class is used as the type of several properties in my custom control. Now that works f...more >>

Yet Another Design Time Collection Query...
Posted by news.microsoft.com at 5/23/2005 12:00:00 AM
Hi, I am a new .NET programmer starting with the Visual C# 2005 Express Beta 2, trying to replicate a VCL component that I use. I am trying to handle a collection of classes within the component, this class has its own properties that are editable by the standard collection editor. To break...more >>

Designer Flaw?
Posted by MLongmire at 5/20/2005 11:34:18 PM
I'm trying to create a ComboBox class that will present the same printout options to users no matter where I need to use the combo box. I extend the ComboBox class and in the constructor I add predefined print destinations, along with setting other properties. The problem comes when I drop...more >>

Win32Execption: The operation completed successfuly
Posted by MajorTom at 5/20/2005 5:37:05 PM
Hello developers. This is not my day. I working with a C# WinForms application, I have about 200 hundred WinForms, they are most of them working as I need. But now when I tried to open (not run) one of them in the designer, it take a lot of time (about 45 second) and almost ...more >>



how to get list of assemblies referenced by the current project
Posted by mnowosad at 5/17/2005 7:57:01 PM
I am looking for a way, during design-time, to be able to access all assemblies that were added as references to the currently selected project. That would allow me, for instance, to open a control editor and populate a list box with the names of all assemblies referenced by the project that...more >>

AutoScale Doesn't Behave How I Expect/Hope
Posted by Charles Law at 5/17/2005 12:00:00 AM
I have just been playing with AutoScale and I am unhappy with the way it appears to work. I have a form created on a desktop m/c where the screen font is Normal (96 dpi). The form looks fine at design time and runtime. I run the application on my laptop, where the screen font is set to 120 dpi...more >>

Question about the String Collection Editor
Posted by Miao Chen at 5/16/2005 3:25:14 PM
I am creating a custom control which have an "AutoCompleteStringCollection" property, which is like in TextBox control. How I can tell the designer I wan to lauch String Collection Editor. ...more >>

'Reference error' on second attempt to inherit form from DLL
Posted by Frnak McKenney at 5/15/2005 12:00:00 AM
Using C#.NET.2003 I'm running into a problem attempting to put wrapper classes around managed Forms, and after six hours it's getting hard to see whether it's a bug, bad documentation, or my failure to understand the documentation. Any advice -- or comments that can narrow my choices -- will ...more >>

How to "remove" properties via an IExtenderProvider.
Posted by Martin Gustavsson at 5/13/2005 12:00:00 AM
Hi all. I have a component implementing IExtenderProvider. It provides two new properties for controls, BackColor and ForeColor. These properties are of my enum type AppColor. The problem is i want to hide the default BackColor and ForeColor properties from the controls as well, leaving me wi...more >>

DataAdapter Table Names
Posted by Christopher Weaver at 5/12/2005 2:55:39 PM
Using the VS 2003 IDE, How do I specify the name that I want associated with the table returned by the DataAdapter? It defaults to Table. I want a DataSet to include more than one table and, of course, I can't do that if they're both named Table. ...more >>

MyTabControl and MyTabPage in Designer?
Posted by Stephan Bomholt at 5/12/2005 5:57:15 AM
Hi, i have 2 "new" controls, MyTabcontrol and MyTabPage, derived from TabControl and TabPage. Creating a form with the VS-Form-Designer and my customized TabControl is very easy and successful. But when i design my tab pages there always TabPage. How can i customize my VS 2003 to use My...more >>

Add to a collection at design time
Posted by talfano NO[at]SPAM ncpsolutions.com at 5/11/2005 11:09:17 PM
Hello, I would like to add a new item to a collection at Design Time without going through a collection editor. I am trying to add an item to a collection from from DesignerVerb handler. I have DesigntimeSerializationVisibility set to "Content" on the Collection property, but I am a little...more >>

Font property default value
Posted by Nick WAELTI at 5/7/2005 12:00:00 AM
Hi, Does anyone knows how to set a default for a font property ? I want my property to have the default (not bold) on Arial 8.0! Regular. How can I achieve that ? Thanks, Nick...more >>

Design time debugging, anyone ?
Posted by Nick WAELTI at 5/6/2005 12:00:00 AM
Hi, My control is almost finished but its still doing weird things at design time. I've a designer on my control. My control contains a collection of subcontrols. When I add a child to the collection of my control, I can see it (as I invoke the paint method) but it is not selectable from...more >>

Designer adds relations to custom datasets
Posted by Jose Antonio at 5/5/2005 2:51:33 AM
Hi, I have coded a class which inherits from DataSets and creates two datatables and a datarelation between them. My intention is to drag it to a form in order to bind the dataset to several controls. When I drag the dataset to the form, the designer automatically adds code in the Ini...more >>

Designer visible property
Posted by Mital at 5/5/2005 12:00:00 AM
Hi, I am creating my own designer using http://www.divil.co.uk/net/articles/designers/hosting.asp (Also reading through open source #Develop project.) I can change Visible property of the control using propertygrid without any problem, but if I change Visible property value to false usin...more >>

DataGridView derived class designtime issue
Posted by Miao Chen at 5/4/2005 4:03:49 PM
Hi, I am planning to extend DataGridView control to hosting my own Editing control. Here is my class which derived from DataGridViewColumn. public class MyDataGridViewMaskedTextBoxColumn : DataGridViewColumn { ..... [ Category("EditingControl Settings"), Browsable(...more >>

ExpandableObjectConverter with no string representation
Posted by Bruce Wood at 5/4/2005 10:16:43 AM
I'm new to the design time world, so please forgive me if this is a newbie question. My control has a property called Model that is a Component. I moved a bunch of functionality and properties from my control to the Model because I want to be able to share one Model between multiple controls. ...more >>

Generate Query Builder Programitically
Posted by anandjain5 NO[at]SPAM gmail.com at 5/4/2005 2:17:22 AM
hi all I want to create my own OledbCommand control.Since OledbCommand class is sealed class. I can't inherit control from that.I inherit control from usercontrol and take an object of oledbcommand control and expose required properties.So for the commandtext property,I want to open query bu...more >>

how to inherit LinkLabel control
Posted by Michael Palmer at 5/3/2005 11:07:44 AM
I'm trying to inherit/extend the standard LinkLabel control so I can add a couple of additional things to it... but, I can't get it to display on any forms. Do I need a custom designer? What am I missing? Here's my code... Public Class HoverLinkLabel Inherits System.Windows.Forms.LinkLab...more >>

how to access the control assembly at design time
Posted by moital at 5/3/2005 5:29:02 AM
how to access the control assembly at design time, I am using the [Editor] attribute to create a custom drop down list form, with the list of the refernced assemblies of the control. how do I access those assembly names at design time ? -- moital ...more >>

Collection of Collection control @ DESIGN TIME
Posted by Nick WAELTI at 5/3/2005 12:00:00 AM
Hi, I'm building an extended treeview control starting from scratch. Works great so far, but I wanted to include some Rich Design Time features to it. This is what I have: A treeview that has a property called Nodes Nodes is a collection that contains node A Node also has a property call...more >>

PropertyGrid Issue
Posted by Mital at 5/3/2005 12:00:00 AM
Hi, How to display few properties of the control eg. Name, Text, Visible and TabIndex? I am using PropertyGrid, which shows all public properties of the control. Kind Regards. Mital ...more >>


DevelopmentNow Blog