public DatumTypeControl()
{
InitializeComponent();
edtDatum.Label = lblValue;
standardUnitControl.OnChange += standardUnitControl_OnChange;
if (!this.IsInDesignMode())
{
cmbDatumType.DataSource = Enum.GetNames(typeof (Datum.DatumTypes));
cmbDatumType.SelectedIndex = (int)ATMLModelLibrary.model.common.Datum.DatumTypes.DOUBLE;
SetEditStates();
}
}