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