|
-
Jun 19th, 2007, 08:31 PM
#1
Thread Starter
Fanatic Member
[2.0] using with w/ c#
how can to avoid duplication of control like comboBox1?
comboBox1.Items.Add("Item 1");
comboBox1.Items.Add("Item 2");
comboBox1.Items.Add("Item 3");
just like in VB, it should be;
with comboBox1
.Items.Add("Item 1");
.Items.Add("Item 2");
.Items.Add("Item 3");
end with
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|