开发者

Dispalying a list in combobox using visual studio(2008, express) for c sharp

I've got a class with a list(4 item) of data 开发者_StackOverflow社区and I want to show all in a combo box. how do i do that maintaining Model-View-Controller?


I am a simple ComboBox and my job is to display things in a list, but not so much as to have the entire thing drop off the bottom of the screen causing the user to physically tilt his monitor to select items. Because of this, I implement a scroll-bar. Anyhoo, I'm empty right now and I need some data, can you help out?

Regards,

ComboBox (_idCounty)

Dear ComboBox,

Thankyou for your recent enquiry. As it turns out I DO have some data for you that you can display. Here it is.

Regards,

Model

PS: Make sure you listen to Controller!!!

In short, simply query the model for the data you require

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜