终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

NewMaterialView.xaml.cs 634 B

1234567891011121314151617181920212223
  1. using System.Windows;
  2. using System.Windows.Input;
  3. namespace BPASmartClient.DosingSystem.View
  4. {
  5. /// <summary>
  6. /// NewMateritalView.xaml 的交互逻辑
  7. /// </summary>
  8. public partial class NewMaterialView : Window
  9. {
  10. public NewMaterialView()
  11. {
  12. InitializeComponent();
  13. this.btClose.Click += (o, e) => { this.Close(); };
  14. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  15. }
  16. private void btClose_Click(object sender, RoutedEventArgs e)
  17. {
  18. this.Close();
  19. }
  20. }
  21. }