ComboBox高手请教,ComboBox的事件。

fengzhifengyi 2008-12-04 08:14:40
在ComboBox中如何选中其Text值时触发其下拉事件。
...全文
81 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
birdlonger 2008-12-04
  • 打赏
  • 举报
回复
mark !
mykelly6 2008-12-04
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 h_w_king 的回复:]
private void comboBox1_MouseUp(object sender, MouseEventArgs e)
{
if (this.comboBox1.SelectionLength > 0)
this.comboBox1.DroppedDown = true;
}
[/Quote]
这样应该就可以了~
h_w_king 2008-12-04
  • 打赏
  • 举报
回复
private void comboBox1_MouseUp(object sender, MouseEventArgs e)
{
if (this.comboBox1.SelectionLength > 0)
this.comboBox1.DroppedDown = true;
}
zjs1109 2008-12-04
  • 打赏
  • 举报
回复
帮顶

110,567

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧