123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using compdfkit_tools.Data;
- 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.Navigation;
- using System.Windows.Shapes;
- namespace compdfkit_tools.Annotation.PDFAnnotationPanel.PDFAnnotationUI
- {
- /// <summary>
- /// CPDFStampUI.xaml 的交互逻辑
- /// </summary>
- public partial class CPDFStampUI : UserControl
- {
- public event EventHandler<CPDFAnnotationData> PropertyChanged;
- public CPDFStampUI()
- {
- InitializeComponent();
- }
- public void InitWithAnnotationType(AnnotationType annotationType)
- {
- //doing something....
- }
- private void Button_Click(object sender, RoutedEventArgs e)
- {
- }
- private void CPDFOpacityControl_OpacityChanged(object sender, EventArgs e)
- {
- PropertyChanged?.Invoke(this,new CPDFStampData());
- }
- private void Text_Click(object sender, RoutedEventArgs e)
- {
- CreateStampDialog createStampDialog = new CreateStampDialog();
- createStampDialog.Owner = Window.GetWindow(this);
- createStampDialog.ShowDialog();
- }
- }
- }
|