| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using ivf_tl_Manage.Converts;
- 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 ivf_tl_Manage.Win
- {
- /// <summary>
- /// PicExportWindow.xaml 的交互逻辑
- /// </summary>
- public partial class PicExportWindow : Window
- {
- public PicExportWindow(Window w,int picCount)
- {
- InitializeComponent();
- this.Owner = w;
- //this.export_Button.Content = $"导出选中图片({picCount}张)";
- this.export_Button.Content = $"{KeyToStringConvert.GetLanguageStringByKey("0292")}({picCount}{KeyToStringConvert.GetLanguageStringByKey("0254")})";
- if (picCount == 0)
- {
- this.export_Button.IsEnabled = false ;
- }
- else
- {
- this.allExport_Button.IsEnabled = false;
- }
- this.Closed += (a, b) => w.Activate();
- }
- private void Cancel_Click(object sender, RoutedEventArgs e)
- {
- this.DialogResult = false;
- return;
- }
- private void Ok_Click(object sender, RoutedEventArgs e)
- {
- this.DialogResult = true;
- return;
- }
- }
- }
|