public void AddItem(string strXml, string strCardPhotoPath) { ReaderSheetItem item = new ReaderSheetItem(strXml, strCardPhotoPath); if (this.Items == null) { this.Items = new List <ReaderSheetItem>(); } this.Items.Add(item); }
public void AddItem(string strName, string strDepartment, string strBarcode) { ReaderSheetItem item = new ReaderSheetItem(strName, strDepartment, strBarcode); if (this.Items == null) { this.Items = new List <ReaderSheetItem>(); } this.Items.Add(item); }