Browse Source

自定义控件

liyijie 2 years ago
parent
commit
96f420ab79

+ 0 - 2
PDF Office/ViewModels/Dialog/HomePageToolsDialogs/HomePageSplitDialogViewModel.cs

@@ -532,8 +532,6 @@ namespace PDF_Office.ViewModels.Dialog.HomePageToolsDialogs
                 savefilename = currentViewer.Document.FileName;
                 FilePathName = savefilename + "-" + "part" + ".pdf";
                 savefilepath = filepath.Replace(savefilename+".pdf","");
-
-
             }
         }
         #endregion

+ 2 - 2
PDF Office/Views/Dialog/HomePageToolsDialogs/HomePageSplitDialog.xaml

@@ -47,8 +47,8 @@
                             </StackPanel>
                             <StackPanel Orientation="Horizontal">
                                 <RadioButton VerticalAlignment="Center" IsChecked="{Binding CustomPageRangeIsCheck}" Command="{Binding CustomPageRangeCommand}"></RadioButton>
-                                <TextBlock Text="按特定页面拆分" VerticalAlignment="Center"></TextBlock>
-                                <cus:WritableComboBox CurrentPage="True" Height="32" Width="183" Text="{Binding PageRangeText,Mode=TwoWay}" IsEnabled="{Binding CustomPageRangeIsEnabled}" SelectedIndex="{Binding PageRangeSelectIndex,Mode=TwoWay}"></cus:WritableComboBox>
+                                <TextBlock Text="按特定页面拆分" VerticalAlignment="Center"></TextBlock>
+                                <cus:WritableComboBox  Height="32" Width="183" Text="{Binding PageRangeText, Mode=TwoWay}" IsEnabled="{Binding CustomPageRangeIsEnabled}" SelectedIndex="{Binding PageRangeSelectIndex, Mode=TwoWay}"/>
                             </StackPanel>
                         </StackPanel>
                     </Grid>