Пример #1
0
        public static DsAlbum AlbumDataSet()
        {
            DsAlbum result = new DsAlbum();

            result.AddAlbumsRow(1, "HQ", "Roy Harper", false, null);
            result.AddAlbumsRow(2, "The Rough Dancer and Cyclical Night", "Astor Piazzola", false, null);
            result.AddAlbumsRow(3, "The Black Light", "Calexico", false, null);
            result.AddAlbumsRow(4, "Symphony No.5", "CBSO", true, "Sibelius");
            return(result);
        }
Пример #2
0
 public MainWindow()
 {
     InitializeComponent();
     model = new PmodAlbum(DsAlbum.AlbumDataSet());
     LoadFromPmod();
 }
Пример #3
0
 public PmodAlbum(DsAlbum albums)
 {
     this._data           = albums;
     _selectedAlbumNumber = 0;
 }