Пример #1
0
        public int getSetRow(Set setSelected)
        {
            if (setSelected == null)
                return 0;

            for (int j = 0; j < m_tableData.Count; ++j) {
                if (m_tableData [1] [j] == setSelected.Number.ToString()
                    && m_tableData [2] [j] == setSelected.Distance.ToString()
                    && m_tableData [3] [j] == setSelected.Interval)
                    return int.Parse (m_tableData [0] [j]) - 1;
            }
            return 0;
        }
Пример #2
0
 public SetEndArgs(Set currentSet)
 {
     CurrentSet = currentSet;
 }