123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System.Windows;
- namespace Saga.PlugIn.CreateFacility
- {
- /// <summary>
- /// WinTipMissFamily.xaml 的交互逻辑
- /// </summary>
- public partial class WinTipCreateSuccess
- {
- public WinTipCreateSuccess(string id)
- {
- InitializeComponent();
- m_id = id;
- Tip = $"BIMID:{id}";
- this.DataContext = this;
- }
- private string m_id;
- private string m_Tip;
- public string Tip
- {
- get { return m_Tip; }
- set { m_Tip = value; }
- }
- #region Action
- private void ButtonNext_OnClick(object sender, RoutedEventArgs e)
- {
- this.DialogResult = true;
- }
- private void ButtonCopy_OnClick(object sender, RoutedEventArgs e)
- {
- Clipboard.SetDataObject(m_id);
- }
- #endregion
- }
- }
|