private void btnSelectUUT_Click(object sender, EventArgs e)
{
var form = new ATMLLibraryForm(typeof (UUTDescriptionListControl));
if (DialogResult.OK == form.ShowDialog())
{
errorProvider1.SetError(edtProjectName, "");
errorProvider1.SetError(edtUUT, "");
_uutDescription = form.SelectedObject as UUTDescription;
if (_uutDescription != null)
{
edtUUT.Value = _uutDescription.ToString();
if (!edtProjectName.HasValue())
edtProjectName.Value = _uutDescription.Item.Identification.ModelName;
}
}
}