Ejemplo n.º 1
0
 private void updateView()
 {
     var alarms = _nhSession.Query<Alarms>().ToList();
     foreach (var alarmse in alarms)
     {
         var newAlarm = new ListViewItem(alarmse.Id, alarmse.Hours, alarmse.Mins);
         lv_Alarms.Items.Add(newAlarm.ToString());
     }
 }
Ejemplo n.º 2
0
        private void updateView()
        {
            var alarms = _nhSession.Query <Alarms>().ToList();

            foreach (var alarmse in alarms)
            {
                var newAlarm = new ListViewItem(alarmse.Id, alarmse.Hours, alarmse.Mins);
                lv_Alarms.Items.Add(newAlarm.ToString());
            }
        }