private void ImportButtonClicked(object sender, RoutedEventArgs s)
 {
     Corelib.Write("Import button clicked");
     Corelib.Import();
     AddButtons();
     Corelib.Write("Import button clicked - finished");
 }
 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();
     }
 }
Exemple #3
0
 public static void Import()
 {
     Pakages = Lib.Import();
     button.UpdateBtn();
 }
 private void Repo_window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Corelib.Import();
     AddButtons();
 }