最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
关于在DataGrid里添加ComboBox(三)
时间:2022-07-02 11:35:37 编辑:袖梨 来源:一聚教程网
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;
相关文章
- 射雕三千梦陨成就怎么获取 04-23
- 桃源深处有人家陶梦江湖怎么玩 04-23
- 恋与制作人恋语探案集怎么玩 04-23
- 泰拉瑞亚怎么挖掘到猩红矿 04-23
- 原神璃月观景点位置大全 04-23
- 王者荣耀多重施法怎么玩 王者荣耀五五朋友节多重施法活动介绍 04-23