|
123456789101112131415161718192021222324252627 |
- using System.Windows.Input;
-
- namespace BPASmartClient.MorkCL.View
- {
- /// <summary>
- /// EditRecipeView.xaml 的交互逻辑
- /// </summary>
- public partial class EditRecipeView : Window
- {
- public EditRecipeView()
- {
- InitializeComponent();
- this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
-
- ActionManage.GetInstance.Register(() =>
- {
- this.Close();
- }, "CloseEditRecipeView", true);
- }
-
- private void Button_Click(object sender, RoutedEventArgs e)
- {
- this.DialogResult = false;
- this.Close();
- }
- }
- }
|