组合框图片框 [英] combobox & picturebox

查看:63
本文介绍了组合框图片框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我赢了表格
现在我想改变一下形式:
当我选择组合框的任何项目时,以相同形式更改图片框的图像
我该怎么做?????????

解决方案

处理ComboBox.SelectedIndexChanged或CombnoBox.SelectedValueChanged事件,并在处理程序.


使用google和combobox change picturebox
这是2个结果:
http://social.msdn.microsoft.com/论坛/en-US/vbgeneral/thread/2c05cc89-33d8-4ef8-9c6d-456266203d44 [ http://www.dreamincode.net/forums/topic /163345-combobox-and-picturebox-working-together-c%23/ [ 解决方案

Handle the ComboBox.SelectedIndexChanged or CombnoBox.SelectedValueChanged event, and set the PictureBox.Image property in the handler.


Use google with: combobox change picturebox!
Here are 2 results:
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/2c05cc89-33d8-4ef8-9c6d-456266203d44[^]
http://www.dreamincode.net/forums/topic/163345-combobox-and-picturebox-working-together-c%23/[^]


这篇关于组合框图片框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆