Пример #1
0
 public CComboBoxMenu(CComboBox dmcomboBox)
 {
     this.itemHeight = 35;
     this.fontColor  = Color.White;
     this.mRadius    = 0;
     this.Font       = Share.DefaultFont;
     this.Init();
     base.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.DoubleBuffer | ControlStyles.AllPaintingInWmPaint | ControlStyles.SupportsTransparentBackColor | ControlStyles.Selectable | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true);
     base.SetStyle(ControlStyles.Opaque, false);
     base.BackColor = Color.Transparent;
     base.UpdateStyles();
     this.dmcomboBox = dmcomboBox;
 }
Пример #2
0
 public CListBox(CComboBox ctr) : this()
 {
     this.Size      = ctr.Size;
     this.comboxBox = ctr;
 }