WinTipVPipeCheckComplete.xaml.cs 955 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System.Windows;
  2. namespace Saga.PlugIn.VerticalPipeCheck
  3. {
  4. /// <summary>
  5. /// WinTipMissFamily.xaml 的交互逻辑
  6. /// </summary>
  7. public partial class WinTipVPipeCheckComplete
  8. {
  9. public WinTipVPipeCheckComplete(int? upcount,int? downcount)
  10. {
  11. InitializeComponent();
  12. this.UpCount = upcount;
  13. this.DownCount = downcount;
  14. this.DataContext = this;
  15. }
  16. private int? m_UpCount;
  17. public int? UpCount
  18. {
  19. get { return m_UpCount; }
  20. set { m_UpCount = value; }
  21. }
  22. private int? m_DownCount;
  23. public int? DownCount
  24. {
  25. get { return m_DownCount; }
  26. set { m_DownCount = value; }
  27. }
  28. #region Action
  29. private void ButtonNext_OnClick(object sender, RoutedEventArgs e)
  30. {
  31. this.DialogResult = true;
  32. }
  33. #endregion
  34. }
  35. }