Exemplo n.º 1
0
        private void UpdateBpmCollection()
        {
            var i = 0;

            foreach (var source in BpmCollection.ToList())
            {
                i++;
                source.TimeInt = i;
            }
        }
Exemplo n.º 2
0
        private void UpdateBpmCollection()
        {
            var i = 0;

            if (_observableCollectionBpm == null)
            {
                _observableCollectionBpm = new DiagramCollection <HrModel>();
            }
            _observableCollectionBpm.Clear();
            foreach (var source in BpmCollection.ToList())
            {
                i++;
                source.TimeInt = i;
                _observableCollectionBpm.Add(source);
            }
        }