private void Ok(AddRecordForm window) { _RecordCollection.AddRecord(new Record() { Artist = window.Artist.Text, ReleaseName = window.ReleaseName.Text, ReleaseYear = window.ReleaseYear.Text }); window.Close(); }
private void Cancel(AddRecordForm window) { window.Close(); }