123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- using System.Collections.Generic;
- 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.Shapes;
- namespace Compdfkit_Tools.DigitalSignature.AddCertificationControl
- {
- /// <summary>
- /// AddCertificationDialog.xaml 的交互逻辑
- /// </summary>
- public partial class AddCertificationDialog : Window
- {
- private AddCertificationControl addCertificationControl = null;
- private AddCustomCertificationControl addCustomCertificationControl = null;
- public AddCertificationDialog()
- {
- InitializeComponent();
- addCertificationControl = new AddCertificationControl();
- BodyBd.Child = addCertificationControl;
- }
- private void Window_Loaded(object sender, RoutedEventArgs e)
- {
- addCertificationControl.ContinueEvent += AddCertificationControl_ContinueEvent;
- }
- private void Window_Unloaded(object sender, RoutedEventArgs e)
- {
- addCertificationControl.ContinueEvent -= AddCertificationControl_ContinueEvent;
- }
- private void AddCertificationControl_ContinueEvent(object sender, EventArgs e)
- {
- addCustomCertificationControl = new AddCustomCertificationControl();
- BodyBd.Child = addCustomCertificationControl;
- }
- }
- }
|