Display only the “Revision” revision type
This commit is contained in:
parent
25b536dea5
commit
b1740f888c
@ -268,6 +268,7 @@ 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));
|
||||||
|
if (t.TypeID == 1) // only show first item for now
|
||||||
rt.Add(t);
|
rt.Add(t);
|
||||||
}
|
}
|
||||||
revTypeBindingSource.DataSource = rt;
|
revTypeBindingSource.DataSource = rt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user