|
- 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();
- }
- }
- }
|