public void ClearCheckInList() { CheckInList.Clear(); CheckInList.Add(new Part() { Part_Number = "" }); }
public List <Part> UpdateCheckInList(Dictionary <string, Part> dictionary) { List <Part> partList = new List <Part>(); CheckInList.Clear(); foreach (KeyValuePair <string, Part> entry in dictionary) { CheckInList.Add(entry.Value); partList.Add(entry.Value); } return(partList); }