コード例 #1
0
ファイル: ColorComboBox.cs プロジェクト: zixing131/LAEACC
 /// <summary>
 /// Initializes a new instance of the <see cref="ColorComboBox"/> class with default settings.
 /// </summary>
 public ColorComboBox()
 {
     FCombo    = new ComboBox();
     FDropDown = new ColorDropDown();
     FDropDown.ColorSelected += new EventHandler(FDropDown_ColorSelected);
     SetStyle(ControlStyles.AllPaintingInWmPaint, true);
     SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
 }
コード例 #2
0
 public ToolStripColorButton()
 {
     FDropDown = new ColorDropDown();
     FDropDown.ColorSelected += new EventHandler(FDropDown_ColorSelected);
     DropDown = FDropDown;
 }