示例#1
0
        //-----------------------------------------------------------------------

        #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);
        }
示例#2
0
 // add2
 public void add(canMessageId canId)
 {
     list.Add(canId);
 }