Display only the “Revision” revision type

This commit is contained in:
John Jenko 2014-07-01 13:31:55 +00:00
parent 25b536dea5
commit b1740f888c

View File

@ -268,7 +268,8 @@ namespace VEPROMS
foreach (int i in Enum.GetValues(typeof(Rev_Types))) foreach (int i in Enum.GetValues(typeof(Rev_Types)))
{ {
RevType t = new RevType(i, Enum.GetName(typeof(Rev_Types), i)); RevType t = new RevType(i, Enum.GetName(typeof(Rev_Types), i));
rt.Add(t); if (t.TypeID == 1) // only show first item for now
rt.Add(t);
} }
revTypeBindingSource.DataSource = rt; revTypeBindingSource.DataSource = rt;
stageInfoBindingSource.DataSource = StageInfoList.Get(); stageInfoBindingSource.DataSource = StageInfoList.Get();