public static void LaunchSecondPage() { //Application.Run(new Form1()); SecondPage form = new SecondPage(); //WindowInteropHelper wih = new WindowInteropHelper(this); //wih.Owner = form.Handle; form.ShowDialog(); }
private void Exit_Click(object sender, RoutedEventArgs e) { //this.Close(); SecondPage.QuitWifiUI(); }