private void RefreshReading() { RefreshValues newValues = dataToRead.GetRefreshValues(); lblVersesToRead.Text = newValues.VersesToRead; lblStart.Text = newValues.Start; lblCurrent.Text = newValues.Current; lblReadIndicator.Text = newValues.ReadIndicator; button4.Enabled = newValues.IsRead; pictureBox1.Image = newValues.image; }
public RefreshValues GetRefreshValues() { RefreshValues newValues = new RefreshValues(); newValues.VersesToRead = GetCurrentReading(currentDayCount); newValues.Start = GetStartDay(); newValues.Current = GetCurrentDay(); newValues.ReadIndicator = ReadingIndication; newValues.IsRead = !GetIsRead(); newValues.image = NextPictureImage(); return(newValues); }