예제 #1
0
 private void OpenExec(object sender, ExecutedRoutedEventArgs e)
 {
     e.Handled = true;
     /*
                 if ( mSelected.Any() )
                 {
                     RaceThread.RaceInfo = mRace;
                     ThreadStart threadDelegate = new ThreadStart(RaceThread.Run);
                     Thread newThread = new Thread(threadDelegate);
                     newThread.Start();                
                 }  
      */
     Window W = new MainWindow(mRace);
     W.ShowDialog();
 }
예제 #2
0
 public static void Run()
 {
     MainWindow Window = new MainWindow(RaceInfo);
     Window.ShowDialog();
 }