private void toolStripButtonAddNew_Click(object sender, EventArgs e) { var newForm = new NewEntryForm(); if (newForm.ShowDialog() == DialogResult.OK) { _data.Items.Add(newForm.GetEntry()); _repo.Save(_data); LoadData(); } }