Inheritance: System.Windows.Forms.UserControl
        public ColorPickerDialog()
        {
            InitializeComponent();

            m_colorPicker      = new ColorPickerCtrl();
            m_colorPicker.Dock = DockStyle.Fill;
            m_colorTabPage.Controls.Add(m_colorPicker);
        }
Example #2
0
        public ColorPickerDialog()
        {
            InitializeComponent();

            m_colorPicker = new ColorPickerCtrl();
            m_colorPicker.Dock = DockStyle.Fill;
            m_colorTabPage.Controls.Add(m_colorPicker);
        }
Example #3
0
        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;
 }