private void btnEditMusic_Click(object sender, EventArgs e) { SongEditorForm songEditor = new SongEditorForm(proj.currentSong); if (songEditor.ShowDialog() == DialogResult.OK) { proj.RefreshData(); songPreviewControl1.RefreshData(); proj.RefreshUI(); } }
private void editToolStripMenuItem_Click(object sender, EventArgs e) { if (currentSong != null) { SongEditorForm songEditor = new SongEditorForm(currentSong); if (songEditor.ShowDialog() == DialogResult.OK) // TODO: in the future improve this: non-modal { g.Refresh(); } } }