Example #1
0
        void IValueType.SetValue(params object[] value)
        {
            if (value == null || value.Length <= 0 || value[0] == null)
            {
                return;
            }
            int index = m_control.FindStringExact(value[0].ToString());

            if (index >= 0)
            {
                m_control.Text = m_control.Items[index].ToString();
            }
        }