/// <summary>
 /// Displays detailed information about selected entry, if any entry is selected.
 /// </summary>
 private void listBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (listBox.SelectedItems.Count == 1)
     {
         dateBox.Value = DateTime.ParseExact(changelog.GetDate(listBox.SelectedItems[0].Index), dateBox.CustomFormat, null);
         try
         {
             pictureBox.CancelAsync();
             pictureBox.LoadAsync(changelog.GetPicture(listBox.SelectedItems[0].Index));
         }
         catch { }
         descriptionBox.Text = changelog.GetText(listBox.SelectedItems[0].Index);
         headingBox.Text     = changelog.GetHeading(listBox.SelectedItems[0].Index);
     }
 }
 /// <summary>
 /// Opens changelog entry and ensures that when its saved, it overwrites original entry.
 /// </summary>
 private void editEntryButt_Click(object sender, EventArgs e)
 {
     if (listBox.SelectedItems.Count == 1)
     {
         dateBox.Value       = DateTime.ParseExact(changelog.GetDate(listBox.SelectedItems[0].Index), dateBox.CustomFormat, null);
         pictureURLBox.Text  = changelog.GetPicture(listBox.SelectedItems[0].Index);
         descriptionBox.Text = changelog.GetText(listBox.SelectedItems[0].Index);
         headingBox.Text     = changelog.GetHeading(listBox.SelectedItems[0].Index);
         editedID            = listBox.SelectedItems[0].Index;
         isEditedDeleted     = false;
     }
 }