Files
XplorePlane/XP.Calibration/Views/DetectorCenteringResultDialog.xaml.cs
2026-07-28 13:10:23 +08:00

29 lines
617 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Windows;
namespace XP.Calibration.Views;
public partial class DetectorCenteringResultDialog : Window
{
/// <summary>用户点了 Next 为 trueExit 为 false</summary>
public bool IsNext { get; private set; }
public DetectorCenteringResultDialog()
{
InitializeComponent();
}
private void OnNext_Click(object sender, RoutedEventArgs e)
{
IsNext = true;
DialogResult = true;
Close();
}
private void OnExit_Click(object sender, RoutedEventArgs e)
{
IsNext = false;
DialogResult = false;
Close();
}
}