scheduleListView.Items.Count as well as scheduleListView.Items != null check should be sufficient