public static void CreateProject() { var form = new ATMLProjectCreationForm(); //ObjectNameForm("Create Test Program Set Name"); //form.RegularExpression = @"^([A-Z]|[a-z]|[0-9]|_|-|\.|\s)+$"; if (DialogResult.OK == form.ShowDialog()) { UUTDescription uut = form.UutDescription; CreateProject( form.ProjectInfo ); //UutManager.FindUUT() //--- Check if uut exists or not ---// var bean = new AssetIdentificationBean(); bean.assetType = "Part"; bean.assetNumber = uut.name; bean.uuid = Guid.Parse( uut.uuid ); //DocumentManager.SaveDocument( new Document()); } }