最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
关于在DataGrid里添加ComboBox(三)
时间:2008-01-12 编辑:简简单单 来源:一聚教程网
sjDataGridComboBox.cs
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
namespace ComboBoxInDataGrid
{
public class DataGridComboBox:ComboBox
{
//
// Basic ComboBox used for all ComboBoxes displayes in a datagrid
//
public DataGridComboBox()
{
//base.DropDownStyle =ComboBoxStyle.DropDownList;
}
public DataGridComboBox(DataTable DataSource, string DisplayMember , string ValueMember)
{
// base.DataSource = DataSource;
// base.DisplayMember = DisplayMember;
// base.ValueMember = ValueMember;
// base.DropDownStyle = ComboBoxStyle.DropDownList;
}
public bool isInEditOrNavigateMode = true;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
namespace ComboBoxInDataGrid
{
public class DataGridComboBox:ComboBox
{
//
// Basic ComboBox used for all ComboBoxes displayes in a datagrid
//
public DataGridComboBox()
{
//base.DropDownStyle =ComboBoxStyle.DropDownList;
}
public DataGridComboBox(DataTable DataSource, string DisplayMember , string ValueMember)
{
// base.DataSource = DataSource;
// base.DisplayMember = DisplayMember;
// base.ValueMember = ValueMember;
// base.DropDownStyle = ComboBoxStyle.DropDownList;
}
public bool isInEditOrNavigateMode = true;
相关文章
- SolidWorks如何制作棘轮棘爪运动仿真 07-09
- solidworks如何画丝杠模型 06-28
- Mathematica动态控件Slider教程 06-12
- 如何解决SolidWorks找不到零件模型图 05-30
- solidworks弹簧怎么画 solidworks画弹簧的方法 05-23
- solidworks齿轮怎么画 solidworks齿轮画法 05-23