终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

29 righe
970 B

  1. using BPA.Helper;
  2. using System;
  3. using System.Windows;
  4. using System.Windows.Controls;
  5. using System.Windows.Input;
  6. namespace BPASmartClient.DosingSystem.View
  7. {
  8. /// <summary>
  9. /// NewRecipeView.xaml 的交互逻辑
  10. /// </summary>
  11. public partial class NewRecipeView : Window
  12. {
  13. public NewRecipeView()
  14. {
  15. InitializeComponent();
  16. this.btClose.Click += (o, e) => { this.Close(); };
  17. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  18. ActionManage.GetInstance.Register(new Action(() => { this.Close(); }), "CloseNewRecipeView", true);
  19. this.Unloaded += (o, s) => { Json<LocalRecipe>.Save(); };
  20. }
  21. private void cb_SelectionChanged(object sender, SelectionChangedEventArgs e)
  22. {
  23. //ActionManage.GetInstance.SendAsync("原料选择修改", (sender as ComboBox).SelectedValue);
  24. }
  25. }
  26. }