示例#1
0
        public EasyGridRadioButtonCell(DataGridView parent)
            : base()
        {
            _parent      = parent;
            _items       = new EasyGridRadioButtonCollection(this);
            _bigimages   = new List <Bitmap>();
            _smallimages = new List <Bitmap>();

            _bigimages.Add(Properties.Resources.Radio_Back);
            _bigimages.Add(Properties.Resources.RadioGreen);
            _bigimages.Add(Properties.Resources.RadioBlue);
            _bigimages.Add(Properties.Resources.RadioRed);
            _bigimages.Add(Properties.Resources.RadioOrange);
            _bigDisabeldImage = Properties.Resources.RadioDisabled;

            _smallimages.Add(Properties.Resources.Radio_Back_small);
            _smallimages.Add(Properties.Resources.RadioGreen_small);
            _smallimages.Add(Properties.Resources.RadioBlue_small);
            _smallimages.Add(Properties.Resources.RadioRed_small);
            _smallimages.Add(Properties.Resources.RadioOrange_small);
            _smallDisabeldImage = Properties.Resources.RadioDisabled_small;


            _images        = _bigimages;
            _disabledImage = _smallDisabeldImage;
            _info          = new CellSpanInfo(this);
        }
示例#2
0
 public EasyGridComboBoxCell(DataGridView parent)
     : base()
 {
     _parent = parent;
     Items   = new List <String>();
     _info   = new CellSpanInfo(this);
 }
示例#3
0
        public EasyGridCheckBoxGroupCell(DataGridView parent)
            : base()
        {
            _parent      = parent;
            _items       = new EasyGridCheckBoxGroupCollection(this);
            _bigimages   = new List <Bitmap>();
            _smallimages = new List <Bitmap>();

            _bigimages.Add(Properties.Resources.check_normal);
            _bigimages.Add(Properties.Resources.check_red);
            _bigimages.Add(Properties.Resources.check_blue);
            _bigDisabeldImage = Properties.Resources.check_normal_press;

            _smallimages.Add(Properties.Resources.check_normal_small);
            _smallimages.Add(Properties.Resources.check_red_small);
            _smallimages.Add(Properties.Resources.check_blue_small);
            _smallDisabeldImage = Properties.Resources.check_normal_disabled_small;

            _font = new Font(_font.FontFamily, 8.0f, FontStyle.Regular);

            _images        = _smallimages;
            _disabledImage = _smallDisabeldImage;

            _info = new CellSpanInfo(this);
        }
 public EasyGridTextBoxCell(EasyGridViewParent parent)
     : base()
 {
     _parent = parent;
     _info   = new CellSpanInfo(this);
     Style.SelectionBackColor = Color.LightSkyBlue;
 }
示例#5
0
 public EasyGridImageCell(DataGridView parent)
     : base()
 {
     _parent          = parent;
     this.ImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     _info            = new CellSpanInfo(this);
 }
 public EasyGridImageButtonCell(DataGridView parent)
     : base()
 {
     _parent                = parent;
     this.ImageLayout       = System.Windows.Forms.ImageLayout.Center;
     _refreshTimer          = new Timer();
     _refreshTimer.Interval = 100;
     _refreshTimer.Tick    += new EventHandler(_refreshTimer_Tick);
     _info = new CellSpanInfo(this);
 }
示例#7
0
        //public Dictionary<String, String> KeyValue = new Dictionary<string, string>();
        //public Dictionary<String, Color> KeyColor = new Dictionary<string, Color>();

        public EasyGridKeyValueCell(DataGridView parent)
            : base()
        {
            _parent = parent;
            //_parent.CellMouseMove +=new DataGridViewCellMouseEventHandler(_parent_CellMouseMove);
            _keyValue           = new EasyGridKeyValueCollections(this);
            _timerOver.Tick    += new EventHandler(_timerOver_Tick);
            _timerOver.Interval = 200;
            _info = new CellSpanInfo(this);
        }
 public EasyGridImageCheckBoxCell()
     : base()
 {
     _images = new List <Image>(); //초기이미지 설정..
     _images.Add(Properties.Resources.check_normal);
     _images.Add(Properties.Resources.check_red);
     _images.Add(Properties.Resources.check_inter);
     _images.Add(Properties.Resources.check_normal_press);
     _info = new CellSpanInfo(this);
     //this.Style.SelectionBackColor = parent.DefaultCellStyle.SelectionBackColor;
 }
 public EasyGridButtonCell(DataGridView parent)
     : base()
 {
     _parent = parent;
     _info   = new CellSpanInfo(this);
 }
示例#10
0
 public EasyGridHeaderCell(DataGridViewColumnHeaderCell templateHeaderCell)
     : base()
 {
     _templateHeaderCell = templateHeaderCell;
     _info = new CellSpanInfo(this);
 }
 public EasyGridFileOpenBoxCell(EasyGridViewParent parent)
     : base()
 {
     _parent = parent;
     _info   = new CellSpanInfo(this);
 }