예제 #1
0
        public ColorPickerDialog()
        {
            InitializeComponent();

            colorPickerCtrl1      = new ColorPickerCtrl();
            colorPickerCtrl1.Dock = DockStyle.Fill;
        }
예제 #2
0
		public ColorPickerDialog()
		{
			InitializeComponent();

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

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