像Access一样的.Net 2008多列组合框 [英] .Net 2008 Multicolumn combobox like Access

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

问题描述

我正在运行VS2008,并在VB.Net中开发Windows Form App.是否没有像Access那样永远存在的绑定多列组合框?如果在VS2008,Windows OS或MPF 2010或其他地方埋有一个,您愿意共享吗?在通用控件列表中没有看到我的眼睛时,我简直不敢相信.

I am running VS2008 and developing a Windows Form App in VB.Net. Is there not a bound multicolumn combobox like Access has had forever? If there is one buried in VS2008, the Windows OS or MPF 2010 or somewhere else would you mind sharing? I could hardly believe my eyes when I did not see one in the common controls list.

不知道正确的术语,我希望此控件是一个工具组件,可以将其拖动到窗体上并设置绑定和列属性,然后使用它来完成.

Not knowing the correct terminology, I would like this control to be a tool component that I can drag onto my form and set the binding and column properties and be done with it.

加入Microsoft VB.Net开发团队...您在哪里上过?在Access中,这种控制类型已经存在了30年了,第三方则采取了成套工具.没有什么可以说是快速开发就像滚动自己的代码一样!我看过很多有关如何编码的文章.这些年来真是个la脚.

Come on Microsoft VB.Net Dev Team... where have you been on this? This type of control has been out for umpteen years in Access and 3rd party took kits. There is nothing that says Rapid development like roll your own code! I have seen serveral articles on how it can coded; pretty lame after all these years.

推荐答案

morebob,

不确定为什么有些控件会移动而有些控件却不会.但我想这对于办公室用户来说更是必不可少的.我不会说vba用户不是程序员,但在大多数情况下,我认为大多数办公室用户或多或少是设计师,而不是很多程序员.我称他们为巨人.那就是我曾经的样子.并不是说.net用户不会使用多列组合框,但是我想已经有足够的解决方案了.猜猜它在列表上很低.我什么都不用使用多列组合框,但我一直想实现对datagridview的使用,作为对datagridview单元格的扩展编辑控件.我玩过自己的文本框和组合框,作为datagridview单元格的编辑控件.我一直在考虑将其扩展为使用一组控件,并调整大小以使其具有一些3D效果.

无论如何,我对Microsoft正在进行的课程没有任何答案,但是您可能会发现datagridview比多列组合框更易于使用.也许对数据更有效.您可以随时创建自己的自定义控件.用户控件或您自己的继承类来创建您可以从工具箱中拖动的控件.
morebob,

not sure why some controls move over and some do not.  but i would imagine that it was more of a necessity for office users.  i wouldn't say that vba users are not programmers but for the most part i think the majority of office users are more or less designers and not so much programmers.  i call them macroers.  that's what i used to be.  and not that the multicolumn combobox is not something that .net users would use, but i guess there are enough solutions out there for it already.  guess it is low on the list.  i don't use multi column combobox for anything but i have been wanting to implement the use of a datagridview as an extended editing control for datagridview cells.  i have played around with my own textbox and a combobox as an editing control for datagridview cells.  i have been thinking of extending it to use a group of controls and sizing to give it some 3d effects. 

anyway, i don't have any answers for you about what microsoft is doing ofcourse but you might find the datagridview easier to work with than multi column combobox.  or maybe more effective for the data.  you can always create your own custom controls.  user controls or your own inherited class to create a control you can drag from the toolbox.


这篇关于像Access一样的.Net 2008多列组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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