using ComPDFKit_Conversion.Converter; using PDF_Office.ViewModels.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter; using System.Diagnostics; using System.Windows.Controls; namespace PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter { /// /// Interaction logic for HomePageConverterImg /// public partial class HomePageConverterImg : UserControl { public HomePageConverterImg() { InitializeComponent(); } private void ImageTypeComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (((HomePageConverterImgViewModel)this.DataContext).homePageConverterDialogViewModel==null) return; ((HomePageConverterImgViewModel)this.DataContext).UpdateImageType(ImageTypeComboBox.SelectedIndex); } //private void ImageDPIComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) //{ // if (((HomePageConverterImgViewModel)this.DataContext).homePageConverterDialogViewModel == null) // return; // ((HomePageConverterImgViewModel)this.DataContext).UpdateImageDpi(ImageDPIComboBox.SelectedIndex); //} } }