Beispiel #1
0
 public void ClearCheckInList()
 {
     CheckInList.Clear();
     CheckInList.Add(new Part()
     {
         Part_Number = ""
     });
 }
Beispiel #2
0
        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);
        }