public AnalogOutputControl() { InitializeComponent(); comboBoxType.DataSource = Enum.GetValues(typeof(AOType)); }