private void Button_Click(object sender, RoutedEventArgs e)
 {
     MessageBox.Show("平差成功");
     Window_calculate calculate = new Window_calculate();
     calculate.Show();
     this.Close();
 }
 private void ESC_Click(object sender, RoutedEventArgs e)
 {
     //this.DialogResult = true; // false;
     
     Window_calculate window_calculate = new Window_calculate();
     window_calculate.Show();
     this.Close();//关闭当前窗口
 }
 ///////
 private void OpenCalculate(object sender, RoutedEventArgs e)
 {
     Window_calculate window_calculate = new Window_calculate();
     window_calculate.Show();
     this.Close();//关闭当前窗口
 }