32 lines
865 B
C#
32 lines
865 B
C#
using System.Collections.ObjectModel;
|
|
using System.Windows.Threading;
|
|
|
|
namespace MyApp
|
|
{
|
|
public class ProgramData
|
|
{
|
|
ObservableCollection<Media> playList = new ObservableCollection<Media>();
|
|
ObservableCollection<string> genreList = new ObservableCollection<string>();
|
|
Media selectedItem = new Media("Ha", "ha");
|
|
bool autoSave = false;
|
|
|
|
public bool AutoSave { get; set; }
|
|
|
|
public ObservableCollection<Media> PlayList
|
|
{
|
|
get { return playList; }
|
|
set { playList = value; }
|
|
}
|
|
public ObservableCollection<string> GenreList
|
|
{
|
|
get { return genreList; }
|
|
set { genreList = value; }
|
|
}
|
|
public Media SelectedItem
|
|
{
|
|
get { return selectedItem; }
|
|
set { selectedItem = value; }
|
|
}
|
|
}
|
|
}
|