TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
raf
NA
7
1.6k
Best way to play with Form Designer
Sep 19 2011 4:36 AM
Hello,
I am working with windows form since a few days, but having some question about the good way to play with the windows form designer. If I use "external" class with object data list and I want to use use them with a ComboBox for example:
<code>
this.comboBox1.FormattingEnabled = true;
/*this.comboBox1.Items.AddRange(new object[] {
"01",
"02",
"03"
});
* */
Data myData = new Data();
this.comboBox1.Items.AddRange(myData.m_data);
</code>
then If I add modification to the form with the Designer all my added code is reset. Does that mean that If I insert code to the Windows Form Designer generated code I can't no more use the Designer ? or is there any secret tricks ? or is it better to not use the designer ?
thanks for you help.
Reply
Answers (
6
)
Unable to apply CSS class to listview
How to insert data table to database