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

I must be missing something?!

Hello,

I have just started using C# Visual Express beta 2 and after putting a
label on the form, I look at the code and see nothing like

Label label1 = new Label etc

Should I be seeing soemthing like this?

Cheers

Geoff


Nov 17 '05 #1
4 925
Geoff,

Maybe you're looking at the wrong source code file. Visual C# 2.0 uses the
new concept of partial classes in order to split the code of the forms in
two source files, one for the VS-generated code and another for the
user-written code.

Regards - Octavio

<Geoff Cox> escribió en el mensaje
news:85********************************@4ax.com...
Hello,

I have just started using C# Visual Express beta 2 and after putting a
label on the form, I look at the code and see nothing like

Label label1 = new Label etc

Should I be seeing soemthing like this?

Cheers

Geoff

Nov 17 '05 #2
Hi,

In .net 2.0 there is a new feature, called partial classes, the classes are
created in more than one file, so all the code generated by the IDE is in
another file, that's why you do not see it
Take a look at this page :
http://blogs.msdn.com/jaybaz_ms/arch...28/122392.aspx
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<Geoff Cox> wrote in message
news:85********************************@4ax.com...
Hello,

I have just started using C# Visual Express beta 2 and after putting a
label on the form, I look at the code and see nothing like

Label label1 = new Label etc

Should I be seeing soemthing like this?

Cheers

Geoff

Nov 17 '05 #3
On Wed, 10 Aug 2005 15:05:52 +0200, "Octavio Hernandez"
<do****@danysoft.com> wrote:
Geoff,

Maybe you're looking at the wrong source code file. Visual C# 2.0 uses the
new concept of partial classes in order to split the code of the forms in
two source files, one for the VS-generated code and another for the
user-written code.
Thanks Octavio - I see wht you mean!

Cheers

Geoff


Regards - Octavio

<Geoff Cox> escribió en el mensaje
news:85********************************@4ax.com.. .
Hello,

I have just started using C# Visual Express beta 2 and after putting a
label on the form, I look at the code and see nothing like

Label label1 = new Label etc

Should I be seeing soemthing like this?

Cheers

Geoff


Nov 17 '05 #4
On Wed, 10 Aug 2005 09:11:56 -0400, "Ignacio Machin \( .NET/ C# MVP
\)" <ignacio.machin AT dot.state.fl.us> wrote:
Hi,

In .net 2.0 there is a new feature, called partial classes, the classes are
created in more than one file, so all the code generated by the IDE is in
another file, that's why you do not see it
Take a look at this page :
http://blogs.msdn.com/jaybaz_ms/arch...28/122392.aspx
I have found the other file now. Thanks - will look at the above link
too.

Cheers

Geoff


cheers,


Nov 17 '05 #5

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

Similar topics

4
by: Stephanie Stowe | last post by:
You have a page. On top of the page, there are some search criteria and other input elements and a submit button. The submit button is clicked, sending a request to the server. Server-side code is...
102
by: Skybuck Flying | last post by:
Sometime ago on the comp.lang.c, I saw a teacher's post asking why C compilers produce so many error messages as soon as a closing bracket is missing. The response was simply because the compiler...
17
by: Justin Emlay | last post by:
I'm hopping someone can help me out on a payroll project I need to implement. To start we are dealing with payroll periods. So we are dealing with an exact 10 days (Monday - Friday, 2 weeks). ...
6
by: Just Me | last post by:
My Task List contains the following: At least one reference is missing the 'Name' attribute. Any suggestion on how toe find which project is missing it? Solution contains 25 projects. ...
8
by: Elijah Cardon | last post by:
1 1 1 1 1 1 2 2 2 1 1 1 3 3 3 1 1 1 4 4 1 2 1 1 5 5 2 2 1 1 6 6 3 2 1 1 7...
2
by: ken | last post by:
We have a user that has reported the following error when starting up our client application that uses a web service on our back end: System.Configuration.ConfigurationException: Missing required...
1
by: chadw | last post by:
Not sure what I am missing sure its probably something very simple, I need something to get my entered text out of the textbox and entered into a database currently the code looks like this. ...
0
by: amiben | last post by:
Hi everyone. I have this problem that I am experiencing when I move a certain site from one hosting to another hosting location. This is why I think this problem is not related to ASP code, rather...
12
by: The Frog | last post by:
Hi all, Does anyone have a way to print forms at design time directly from the IDE? I am not a great fan of the print screen to paint to print method. I would really like to know if anyone has a...
7
by: =?Utf-8?B?QU9UWCBTYW4gQW50b25pbw==?= | last post by:
Hi, I have been using the code (some of it has been removed for simplicity) below to allow authenticated (using ASP.NET membership database) users to get a file from their archive area. It...
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: 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
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: 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
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
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...
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.