private void létrehozásToolStripMenuItem_Click(object sender, EventArgs e) { TvProgramEditor tvProgramEditor = new TvProgramEditor(); if (tvProgramEditor.ShowDialog() == DialogResult.OK) { UpdateTvShowList(); } }
private void szerkesztésToolStripMenuItem_Click(object sender, EventArgs e) { foreach (ListViewItem item in programList.SelectedItems) { TvProgramEditor tvProgramEditor = new TvProgramEditor(item.Tag as TvProgram); if (tvProgramEditor.ShowDialog() == DialogResult.OK) { UpdateTvShowList(); } } }