Example #1
0
        private void cbxDataType_SelectedIndexChanged(object sender, EventArgs e)
        {
            string value   = cbxDataType.Items[cbxDataType.SelectedIndex].ToString();
            object depcode = Enum.Parse(m_dialect.SpecificTypeEnum, value, true);

            m_dataType = m_dialect.CreateSpecificTypeInstance(depcode);
            propertyGrid1.SelectedObject = m_dataType;
        }
Example #2
0
 public virtual ISpecificType CreateSpecificTypeInstance(object enumValue)
 {
     return(m_dialect.CreateSpecificTypeInstance(enumValue));
 }