public AlbumRow(Controller c, Album a) { _controller = c; _model = a; InitializeComponent(); this.albumName.Text = _model.getName(); }
public AddAlbum(Controller c, Album a, AlbumRow r) { _controller = c; _album = a; _row = r; songRows = new List<SongRow>(); InitializeComponent(); this.nameBox.Text = a.getName(); addSongRows(a.getSongs()); if (a.getSongs().Length > 0) _isEdit = true; else _isEdit = false; }