Beispiel #1
0
 public void Argument(string arg)
 {
     if (arg == "/start")
     {
         MainWindow mw = new MainWindow();
         mw.Hide();
         diskCleanup dc = new diskCleanup();
         if (dc.ShowDialog() == true)
         {
             App.Current.Shutdown();
         }
     }
 }
Beispiel #2
0
 public void Argument(string arg)
 {
     if (arg == "/start")
     {
         MainWindow mw = new MainWindow();
         mw.Hide();
         diskCleanup dc = new diskCleanup();
         if (dc.ShowDialog() == true)
         {
             App.Current.Shutdown();
         }
     }
 }
Beispiel #3
0
        private void Tile_Click_2(object sender, RoutedEventArgs e)
        {
            diskCleanup dc = new diskCleanup();

            dc.ShowDialog();
        }