private void ShowNextPicture(object source, EventArgs e) { _timer.Interval = _timerInterval; if (_index < _picturesCount) { _form.Show(); _form.ShowPicture(_pictures[_index].FullName); _index++; } else { _index = 0; _form.ShowPicture(_pictures[_index].FullName); } }
public void Start() { _form.Show(); _form.ShowPicture(FilePath); }