473,489 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Component Designer Generated Code

Hi,

Still new to this .NET stuff, so bear with me.

Sometimes when I design a new component, I get a Region that says "Component
Designer Generated Code". In this region are a couple of New function,
dispose, a definition for components, and an InitializeComponent function.
In other cases, I don't get this region, and have to code this manually to
get the component to work.

So far, I haven't been able to figure out why this is created in some
instances and not created in others.

So, can anyone tell my why I get this sometimes, and other times I don't?

Thanks
Nov 20 '05 #1
1 1972
"Scott Kilbourn" <skilbourn@NO_SPAM_PLEASE.appliedsystems.com>
schrieb

Still new to this .NET stuff, so bear with me.

Sometimes when I design a new component, I get a Region that says
"Component Designer Generated Code". In this region are a couple of
New function, dispose, a definition for components, and an
InitializeComponent function. In other cases, I don't get this
region, and have to code this manually to get the component to
work.

So far, I haven't been able to figure out why this is created in
some instances and not created in others.

So, can anyone tell my why I get this sometimes, and other times I
don't?


It depends on the template you select in the "add item" dialog. Some
templates contain the region, some don't.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2

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

Similar topics

0
1479
by: gman997 | last post by:
Hi all, At a high level here is what is going on -- I built a C# COM object. I need to call this com object from SQL Server using the sp_OACreate stored procedure in SQL Server. I build the COM...
0
961
by: Peter Morris | last post by:
Hi all Is there some way in which I can do the following 1) Make sure that my component is only ever dropped onto a specific component or descendant and no other class (eg, a MySpecialForm)...
2
1073
by: C Glenn | last post by:
I've recompiled a DLL that contains a component. The component vanished from the form. I've since tried to replace it but most of the code associated with the component remained in the cs. The...
2
1288
by: Kurt Schroeder | last post by:
thanks much!!!i'm working through an example that creates a component called component.dll. This compiled ok w/o problem. I copied it to the bin directory of my project (vs.net asp.net vb project)...
4
1308
by: Grigs | last post by:
Hello, I have a fairly simple class that I created and it works great. Basically it remembers a certain amount of strings. When a new one comes in the oldest drops off. The problem is, when I...
0
1103
by: Jonathan Stone | last post by:
Has anyone had a problem with the VS.NET 2003 IDE web form designer where the designer components at the bottom of the design view just disappear and at the same time, you lose all the initialize...
0
1417
by: Jordan Bowness | last post by:
I make a similar post in another newsgroup, but this example is simplified somewhat. I have a component (cmpMyComponent) with 2 properties. The 1st property is a string value (Description) and...
2
2417
by: AMDRIT | last post by:
Hello everyone, I have created a custom component and one of its properties is a class object with it's own properties. During runtime, I can assign values to the class object properties just...
0
1092
by: U.C. | last post by:
Hello All, I am a new user with V.S. 2005 and very frustrated with the Dataset Designer Microsoft added and the Component Designer from V.S. 2003 that Microsoft nuked. After falling in love...
0
7108
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
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7181
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...
1
6847
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
7352
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4875
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.