public ColorPickerDialog() { InitializeComponent(); m_colorPicker = new ColorPickerCtrl(); m_colorPicker.Dock = DockStyle.Fill; m_colorTabPage.Controls.Add(m_colorPicker); }
public ColorPickerDialog() { InitializeComponent(); m_colorPicker = new ColorPickerCtrl(); m_colorPicker.Dock = DockStyle.Fill; m_colorWheelTabPage.Controls.Add(m_colorPicker); m_colorPicker.SelectionChanged += new EventHandler(OnItemChanged); }
protected void CreateDropdown() { if (m_container == null) { m_container = new DropdownContainer <Color>(this); m_colorPicker = new ColorPickerCtrl(); m_container.SetControl(m_colorPicker); } DropdownContainer = m_container; }