Exemplo n.º 1
0
 private void MainWindow_Loaded(object sender, RoutedEventArgs e)
 {
     //setup mstore
     Corelib.Setup();
     Corelib.Write("folder setup");
     Corelib.Import();
     Corelib.Write("inital import");
     AddButtons();
     Corelib.ClearDownloadsFolder();
     Corelib.Write("downloads cleared");
     if (Corelib.Current == null && Corelib.Pakages.Count > 0)
     {
         Corelib.Current = Corelib.Pakages[0];
         UpdateUI();
     }
 }