예제 #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
파일: CListBox.cs 프로젝트: weinre/ChurSkin
 public CListBox(CComboBox ctr) : this()
 {
     this.Size      = ctr.Size;
     this.comboxBox = ctr;
 }