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
howard.kline
NA
15
0
Passing controls
Apr 13 2004 1:58 PM
I have two separate combo boxes and I would like to create one function to populate them. I would like to be able to pass a combobox control and use it. I.E. void LoadDD(
) { string[] dirs = Directory.GetDirectories("\\Family"); foreach (string dir in dirs) {
.Items.Add(new ListItem(GetName(dir), dir)); } } Any ideas??
Reply
Answers (
1
)
Big form++
End of File