void GUIMasterForm_Load(object sender, EventArgs e) { this.comboBoxTypes.DataSource = null; this.comboBoxTypes.DataSource = System.Enum.GetValues(typeof(MeasType)); }