前一段时间,我写个两个控件,ComboBoxTreeView(下拉列表框弹出树) 与ToolStripComboBoxTreeView(下拉列表框工具条弹出树) ,不知道对大家在开发的过程中是否有帮助,今天继续发布VS2005下的ComboBox系列控件中的ComboBoxDataGridView (下拉列表弹出DataGridView),思路与ComboBoxTreeView差不多,唯一不同的是,在数据源设置的地方,大家可以看代码,也希望大家能够踊跃留言,把你们的问题说出来,以便我能开发更好的更实用的控件给大家.在以后的几天当中,我将陆续发布VS2005下的一些控件,请大家关注,好了,下面大家请看附图:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Design;

namespace WindowsApplication21
下面的代码是客户端调用的方法:
在下面的演示程序中
/Files/CodeAnyWhere/ComboBoxDataGridView.rar
相关文章: