473,403 Members | 2,222 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,403 software developers and data experts.

Creating Custom Controls???

Hi

I was wondering if anyone had any information that could help me understand
how to create a custom control, i have had a look on the web and can't seem
to find any simple beginner examples.

any help would be appreciated.

Regards

Darryn
Nov 16 '05 #1
2 1711
Hi,

Follow me

1. Create a Windows form project in ur Visual IDE...
2. Go to project Solution
3. Right click on the project name..
4. Select Add>>Add User Controls...
5. Click on the recently added user control to view it in design mode
6. Open the form (main) in design mode
7. Go to Tool Bar
8. Select My UserControl
9. you will see UserControl1 listed there..
10. Click on it and add it to ur form

this is the pretty basic usercontrol ...

But you can make the user control more complicated and use it as ur
cutomized control as well..

Not only this you can create some other control whcih inherent from existing
control such as button .. text box.. etc as well..

Regards,
Nirosh.

"Darryn Ross" <da****@datawave.com.au> wrote in message
news:ud**************@TK2MSFTNGP10.phx.gbl...
Hi

I was wondering if anyone had any information that could help me understand how to create a custom control, i have had a look on the web and can't seem to find any simple beginner examples.

any help would be appreciated.

Regards

Darryn

Nov 16 '05 #2
"Darryn Ross" <da****@datawave.com.au> wrote in message news:<ud**************@TK2MSFTNGP10.phx.gbl>...

I was wondering if anyone had any information that could help me understand
how to create a custom control, i have had a look on the web and can't seem
to find any simple beginner examples.


Darryn,

You don't write if you want to create a custom control for windows or
web, so I include links for both of them:

Web:
http://msdn.microsoft.com/library/de...rmscontrol.asp

Windows:
http://msdn.microsoft.com/library/de...rmscontrol.asp
Regards,
Knut-Olav Traa
Bekk Consulting
Nov 16 '05 #3

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

Similar topics

0
by: Jai | last post by:
Dear All Creating Custom Controls but Not User Controls,How to create custom controls,i.e Extending the functionality of the Existing Controls.(Web Custom Controls). Previously i have...
2
by: Jim | last post by:
I'm a little new to the C# way of doing thisgs... Although I've done this sort of thing before in VS 6 / MFC... creatnig controls, ActiveX controls, etc. Creating controls in MFC is pretty...
3
by: Kyle Fitzgerald | last post by:
I've started a web control library project and can build my own controls to add to the toolbox in the .NET environment. The problem I'm having is I want to create a control just like the HTML...
0
by: Scott Yenor | last post by:
Hello, I am writing a control library that has a control that inherits from System.Web.UI.Control. The control works fine and I am able to loop through the child controls and display everything...
3
by: Ken Varn | last post by:
I am just starting the process of creating ASP.NET server controls. I have created controls for .NET applications, but have just started with ASP.NET. I am a little confused about some areas that...
1
by: tolisss | last post by:
Hi i m trying to find a way to create a user control that will have a mix of server controls but i cannot find a way to get the html that these controls are going to render before my control is...
0
by: Julien | last post by:
Hi ! I'm creating a custom control, in which I would render an image with client-side script code to display/hide a calendar control which also belong to my custom control. In this control I've...
15
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
1
by: Abdo Haji-Ali | last post by:
Previously I used to create user controls if I wanted to use a specific set of controls in multiple pages, however I want to deploy my control in other applications so I thought of creating custom...
0
by: str1ker | last post by:
Hi, I've been working with C# for quite a while now, and I'd like to start creating programs which aren't the usual old regular Windows controls. I'd like to have controls which are graphically...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.