12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using Exception = System.Exception;
- namespace SAGA.MBI.Test
- {
- /// <summary>
- /// WinParameterDic.xaml 的交互逻辑
- /// </summary>
- public partial class WinRenameConfig : INotifyPropertyChanged
- {
- public WinRenameConfig()
- {
- InitializeComponent();
- this.DataContext = this;
- }
- #region Binding
-
- private string m_ReferenceFilePath;
- public string ReferenceFilePath
- {
- get { return m_ReferenceFilePath; }
- set
- {
- m_ReferenceFilePath = value;
- PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(ReferenceFilePath)));
- }
- }
- private string m_RevitDirs;
- public string RevitDirs
- {
- get { return m_RevitDirs; }
- set
- {
- m_RevitDirs = value;
- PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(RevitDirs)));
- }
- }
- #endregion
- public event PropertyChangedEventHandler PropertyChanged;
- private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
- {
- try
- {
- }
- catch (Exception exception)
- {
- Console.WriteLine(exception);
- }
- this.DialogResult = true;
- }
-
- }
- }
|