public ColorPickerDialog()
        {
            InitializeComponent();

            colorPickerCtrl1      = new ColorPickerCtrl();
            colorPickerCtrl1.Dock = DockStyle.Fill;
        }
		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_colorTabPage.Controls.Add(m_colorPicker);
        }
        public ColorPickerDialog(int imageID, float scaleX, float scaleY)
        {
            InitializeComponent();

            m_colorPicker = new ColorPickerCtrl(imageID, scaleX, scaleY);
            m_colorPicker.Dock = DockStyle.Fill;
            m_colorTabPage.Controls.Add(m_colorPicker);
        }
Exemple #5
0
 public ColorPickerCombobox()
 {
     SelectedItem = Color.Wheat;
     if (m_colorPicker == null)
     {
         m_container   = new DropdownContainer <Color>(this);
         m_colorPicker = new ColorPickerCtrl();
         m_container.SetControl(m_colorPicker);
     }
     DropdownContainer = m_container;
 }