|
- using System.Windows;
- using System.Windows.Input;
-
- namespace BPASmartClient.FoodStationTest.View
- {
- /// <summary>
- /// NewMateritalView.xaml 的交互逻辑
- /// </summary>
- public partial class NewMaterialView : Window
- {
- public NewMaterialView()
- {
- InitializeComponent();
- this.btClose.Click += (o, e) => { this.Close(); };
- this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
- }
-
- private void btClose_Click(object sender, RoutedEventArgs e)
- {
- this.Close();
- }
- }
- }
|