ComboBox control.
Наследование: Button
Пример #1
0
        // or Base?
        /// <summary>
        /// Initializes a new instance of the <see cref="DownArrow"/> class.
        /// </summary>
        /// <param name="parent">Parent control.</param>
        public DownArrow(ComboBox parent)
            : base(parent)
        {
            MouseInputEnabled = false;
            SetSize(15, 15);

            m_ComboBox = parent;
        }
Пример #2
0
        public void TestComboBox()
        {
            var control = new ComboBox(canvas);
            control.AddItem("opt1");
            control.AddItem("opt2");
            control.AddItem("opt3");

            GUI.Test(control, "ComboBox1");
        }