Ejemplo n.º 1
0
 public MainWindow()
 {
     img1.ImageSource           = new BitmapImage(new Uri("pack://application:,,,/Properties/play.png"));
     img2.ImageSource           = new BitmapImage(new Uri("pack://application:,,,/Properties/pause.png"));
     this.WindowStartupLocation = WindowStartupLocation.CenterScreen;
     sql = new SqLiteHelper("data source=config.db");
     //SQLiteDataReader reader =sql.ExecuteQuery("select name from sqlite_master where name='Music'");
     InitializeComponent();
     VolumeSlider.Value = 0.5;
     LoadConfig();
     LoadList();
 }
Ejemplo n.º 2
0
 public ConfigWindow()
 {
     sql = new SqLiteHelper("data source=config.db");
     InitializeComponent();
     LoadConfig();
 }