Exemple #1
0
            public DropList(KComboBox owner, bool ownerDraw)
            {
                this._owner = owner;
                SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
                SetStyle(ControlStyles.Selectable, false);
                BorderStyle = BorderStyle.None;

                if (ownerDraw)
                {
                    DrawMode = DrawMode.OwnerDrawFixed;
                }
            }
Exemple #2
0
 public DisplayItem(KComboBox owner, object item)
 {
     this._owner = owner;
     this.Item   = item;
 }