/*******************************************************************************
* Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential
* 类的信息:
* 1.程序名称:C_CheckedListBox.cs
* 2.功能描述:扩展的复选框列表控件:便于修改背景颜色及字体、颜色
* 编辑履历:
* 作者 日期 版本 修改内容
* 陈晓野 2014/08/13 1.00 新建
*******************************************************************************/
using System;
using System.ComponentModel;
using System.Drawing;
using System.Security.Permissions;
using System.Text;
using System.Windows.Forms;
namespace Dongke.IBOSS.PRD.Basics.BaseControls
{
///
/// 扩展的复选框列表控件
///
public partial class C_CheckedListBox : CheckedListBox
{
#region 成员变量
private CheckState _selectedItemCheckState = CheckState.Unchecked;
private Object _selectedItem = null;
private bool _canMoveItem = false;
#endregion
#region 构造函数
public C_CheckedListBox()
{
InitializeComponent();
}
#endregion
#region 属性
///
/// 获取或者设定列表的项目是否可以移动
///
[DefaultValue(false)]
public bool CanMoveItem
{
get
{
return _canMoveItem;
}
set
{
_canMoveItem = value;
}
}
///
/// 获取或者设定选中的项目的数组
///
public Object[] SelectedValues
{
get
{
System.Collections.Generic.List