473,378 Members | 1,444 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,378 software developers and data experts.

About Form1.Designer.cs

Hello!

There is a file called Forms1.Designer.cs that is located below Form1.cs if
we assume that we call the file that name.
I wonder if it's allowed to change in the file Forms1.Designer.cs except
InitializeComponent ?
One more question is it really any point to change in the Forms1.Designer.cs
?
I just wonder if it's enought in general to change only in the Form1.cs if
we call the file that name ?

I can imagine that the only one that is allowed to change in the
Forms1.Designer.cs is the compiler.

//Tony
Dec 18 '07 #1
2 2408
On Dec 18, 2:09 pm, "Tony Johansson" <johansson.anders...@telia.com>
wrote:
Hello!

There is a file called Forms1.Designer.cs that is located below Form1.cs if
we assume that we call the file that name.
I wonder if it's allowed to change in the file Forms1.Designer.cs except
InitializeComponent ?
One more question is it really any point to change in the Forms1.Designer.cs
?
I just wonder if it's enought in general to change only in the Form1.cs if
we call the file that name ?

I can imagine that the only one that is allowed to change in the
Forms1.Designer.cs is the compiler.
You are free to edit the designer, just be careful. If you add an
event handler manually (not by clicking on the "lightning bolt" icon
in the properties window and double clicking on an event), the only
way you can associate the event handler to the control is by manually
adding the appropriate line in the designer. Well, actually, that can
be done anywhere in your app that has access to the control, but it is
normally done in the designer for all "fixed" controls.
Dec 18 '07 #2
http://www.google.com/search?hl=en&r...ner.cs&spell=1
"Tony Johansson" wrote:
Hello!

There is a file called Forms1.Designer.cs that is located below Form1.cs if
we assume that we call the file that name.
I wonder if it's allowed to change in the file Forms1.Designer.cs except
InitializeComponent ?
One more question is it really any point to change in the Forms1.Designer.cs
?
I just wonder if it's enought in general to change only in the Form1.cs if
we call the file that name ?

I can imagine that the only one that is allowed to change in the
Forms1.Designer.cs is the compiler.

//Tony
Dec 18 '07 #3

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

Similar topics

0
by: Wesman | last post by:
Why does the following code not work (displays the correct values in the second textbox). if i chane the OnFocusChange method to the following it will work: private void OnFocusChange(object...
2
by: afatdog | last post by:
Form1: //----------------------------------------------------------------- public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.TextBox textBox1; private...
0
by: afatdog | last post by:
Form1: //----------------------------------------------------------------- public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.TextBox textBox1; private...
0
by: Henry | last post by:
Using ideas provided by some of you I was able to figure out how to get the names of the parameters fields of a crystal report specified at run time. The code below just basically puts the...
11
by: Brian | last post by:
Hi! I am new to VB.net but know enough to kind of dive in. I want to make a text adventure but I am having problems in how I want to store the data for inventory items, characters and such....
2
by: Bert Szoghy | last post by:
Hello, I am missing something about Visual Basic .NET module variables and window close events. In the following code, after opening Form2 by clicking a button on Form1 and then closing...
8
by: Mark Collard | last post by:
If you change the font property on a Form, it adds/changes the code in the form to something like this: this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F,...
2
by: lewisms | last post by:
Hello all, I am quite new to c++/. Net so please don't shoot me down for being a newbie. Any way I am trying to make a simple multithreading program that is just to learn the ideas behind it...
11
by: Rob Stevens | last post by:
I am having a bit of a problem accessing some information in a different namespace, hopefully someone can point out what I am doing wrong. I have a dll file that I dont want to use in my...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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...

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.