473,396 Members | 1,827 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Visually Design Windows Forms Controls

Is there a way to Visually Design Windows Forms Controls?

For example, I have a class that inherits TextBox. Can I see a
property sheet and a rendition of what it will look like as I develop
it?

It seems that this functionality is limited to Windows Forms.

I've got Standard Edition and thought it might me a limitation of
that.

I know I can put the control on a form and see it that way but that's
not what I had in mind.

Thanks,
Gene H.
Nov 20 '05 #1
3 1058
Gene,

That is what UserControls are for.

-Sam Matzen
"Gene Hubert" <gw******@hotmail.com> wrote in message
news:7e**************************@posting.google.c om...
Is there a way to Visually Design Windows Forms Controls?

For example, I have a class that inherits TextBox. Can I see a
property sheet and a rendition of what it will look like as I develop
it?

It seems that this functionality is limited to Windows Forms.

I've got Standard Edition and thought it might me a limitation of
that.

I know I can put the control on a form and see it that way but that's
not what I had in mind.

Thanks,
Gene H.

Nov 20 '05 #2
* gw******@hotmail.com (Gene Hubert) scripsit:
Is there a way to Visually Design Windows Forms Controls?

For example, I have a class that inherits TextBox. Can I see a
property sheet and a rendition of what it will look like as I develop
it?

It seems that this functionality is limited to Windows Forms.

I've got Standard Edition and thought it might me a limitation of
that.

I know I can put the control on a form and see it that way but that's
not what I had in mind.


When inheriting from an existing Windows Forms control (except
'UserControl'), you won't have a graphical designer. You can add a test
form and instantiate the control on it to test the control.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
Thanks very much for the clarification.

Gene H.

hi***************@gmx.at (Herfried K. Wagner [MVP]) wrote in message news:<2l************@uni-berlin.de>...
When inheriting from an existing Windows Forms control (except
'UserControl'), you won't have a graphical designer. You can add a test
form and instantiate the control on it to test the control.

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: SammyBar | last post by:
Hi, I'm trying to bind a custom collection class to a data grid, following the guidelines from the article http://msdn.microsoft.com/msdnmag/issues/05/08/CollectionsandDataBinding/default.aspx....
0
by: Mobile Boy 36 | last post by:
I'm trying to make a very simple Textbox with a FocusColor property...When the focus changes to the control, the backcolor must change automaticly to the color set by the focusColor property....
1
by: AndrewDucker | last post by:
I've just started working with some people that have an odd setup and I'm wondering if someone can point out a better way of doing things (or what I'm doing wrong). They have a base form class,...
14
by: Jan Nielsen | last post by:
Hi In Microsoft Access it is possible to write code like this Sub test() DoCmd.OpenForm "TestForm", acDesign Dim a As Control For Each a In Forms("TestForm").Controls Do stuff Next End Sub
11
by: Crirus | last post by:
I need to derive the Windows.Forms.Control 2 times so I design a class like this Public Class BMControl Inherits System.Windows.Forms.UserControl Public Class MapControl Inherits BMControl
13
by: alex sparsky | last post by:
I have a custom collection in my c# winform ui control called Items. Items is a built in collection type that does not allow itself to be replace (you can't 'set' the itemscollection in the...
2
by: Steve | last post by:
This is a weird one. I have a series of "SmartParts" which are CAB (Composite Application Block) Views which are finally just UserControls (99% of the time) Anyway, I layout my UserControl in...
11
by: Pete Kane | last post by:
Hi All, does anyone know how to add TabPages of ones own classes at design time ? ideally when adding a new TabControl it would contain tab pages of my own classes, I know you can achieve this with...
0
by: fiaolle | last post by:
Hi I have a combobox wich I set the Datasource,Displaymember and Valuemember at design time. I'm using a Dataset's table. But when I run the form the combobox isn't filled. Can't I set properties...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.