29 lines
617 B
C#
29 lines
617 B
C#
using System.Windows;
|
||
|
||
namespace XP.Calibration.Views;
|
||
|
||
public partial class DetectorCenteringResultDialog : Window
|
||
{
|
||
/// <summary>用户点了 Next 为 true,Exit 为 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();
|
||
}
|
||
}
|