123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using System;
- using System.ComponentModel;
- using System.Windows;
- using Exception = System.Exception;
- namespace Saga.PlugIn.Other
- {
- /// <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;
- }
-
- }
- }
|