//----------------------------------------------------------------------- #endregion // the region contains some public utils #region Utils (Public) // returns a list of selected messages public UniqueDataSetCan getSelectedMessages2() { UniqueDataSetCan list = new UniqueDataSetCan(); for (int i = 0; i < RowList.Count; i++) { var row = RowList.GetAt(i); if (row.Row.Selected) { list.Add(row.Msg); } } return(list); }
// add2 public void add(canMessageId canId) { list.Add(canId); }