|
@@ -51,7 +51,7 @@
|
|
<StackPanel Orientation="Horizontal" Margin="0,60,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="0,60,0,0">
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="打印机: " Height="20" Width="56" ></TextBlock>
|
|
<TextBlock Text="打印机: " Height="20" Width="56" ></TextBlock>
|
|
- <ComboBox Width="277" Height="32" Margin="8,0,0,0"></ComboBox>
|
|
|
|
|
|
+ <ComboBox Width="277" Height="32" Margin="8,0,0,0" ItemsSource="{Binding PrinterNameList}" SelectedIndex="0"></ComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<Button Content="页面设置" Height="32" Width="91" Margin="31,0,0,0"/>
|
|
<Button Content="页面设置" Height="32" Width="91" Margin="31,0,0,0"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
@@ -79,17 +79,17 @@
|
|
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="页面范围: " Height="20" Width="70"></TextBlock>
|
|
<TextBlock Text="页面范围: " Height="20" Width="70"></TextBlock>
|
|
- <ComboBox Width="190" Height="32" Margin="10,0,0,0" ></ComboBox>
|
|
|
|
|
|
+ <cus:WritableComboBox Width="190" Height="32" Margin="10,0,0,0"></cus:WritableComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="35,0,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="35,0,0,0">
|
|
<TextBlock Text="打印方向: " Height="20" Width="70"></TextBlock>
|
|
<TextBlock Text="打印方向: " Height="20" Width="70"></TextBlock>
|
|
- <ComboBox Width="190" Height="32" Margin="10,0,0,0" ></ComboBox>
|
|
|
|
|
|
+ <ComboBox Width="190" Height="32" Margin="10,0,0,0" ItemsSource="{Binding PrintDirectionList}" SelectedIndex="0"></ComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="0,12,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="0,12,0,0">
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="打印内容: " Height="20" Width="70"></TextBlock>
|
|
<TextBlock Text="打印内容: " Height="20" Width="70"></TextBlock>
|
|
- <ComboBox Width="190" Height="32" Margin="10,0,0,0"></ComboBox>
|
|
|
|
|
|
+ <ComboBox Width="190" Height="32" Margin="10,0,0,0" ItemsSource="{Binding PrintContentList}" SelectedIndex="0"></ComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<CheckBox Margin="35,0,0,0" VerticalAlignment="Center">
|
|
<CheckBox Margin="35,0,0,0" VerticalAlignment="Center">
|
|
<TextBlock Text="逆页序打印"/>
|
|
<TextBlock Text="逆页序打印"/>
|
|
@@ -98,51 +98,41 @@
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
<Grid Grid.Row="2">
|
|
<Grid Grid.Row="2">
|
|
- <StackPanel Orientation="Vertical">
|
|
|
|
|
|
+ <StackPanel Height="auto" Orientation="Vertical">
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="调整页面大小和处理页面" FontWeight="ExtraBlack"/>
|
|
<TextBlock Text="调整页面大小和处理页面" FontWeight="ExtraBlack"/>
|
|
<Button Content="?" FontSize="6" Width="16" Height="16" Margin="7,0,0,0"></Button>
|
|
<Button Content="?" FontSize="6" Width="16" Height="16" Margin="7,0,0,0"></Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
|
|
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
|
|
- <Button Background="WhiteSmoke" Width="126" Height="32" Margin="8,0,25,0" Command="{Binding CompressCommand}">
|
|
|
|
|
|
+ <Button Name="ModSize" Background="WhiteSmoke" Width="126" Height="32" Margin="8,0,25,0" Command="{Binding DelegateChangePrintModCommand}" CommandParameter="{Binding ElementName=ModSize}">
|
|
<Border>
|
|
<Border>
|
|
<TextBlock Text="大小"></TextBlock>
|
|
<TextBlock Text="大小"></TextBlock>
|
|
</Border>
|
|
</Border>
|
|
</Button>
|
|
</Button>
|
|
- <Button Background="WhiteSmoke" Width="126" Height="32" Margin="0,0,25,0" Command="{Binding CompressCommand}">
|
|
|
|
|
|
+ <Button Name="ModPoster" Background="WhiteSmoke" Width="126" Height="32" Margin="0,0,25,0" Command="{Binding DelegateChangePrintModCommand}" CommandParameter="{Binding ElementName=ModPoster}">
|
|
<Border>
|
|
<Border>
|
|
<TextBlock Text="海报"></TextBlock>
|
|
<TextBlock Text="海报"></TextBlock>
|
|
</Border>
|
|
</Border>
|
|
</Button>
|
|
</Button>
|
|
- <Button Background="WhiteSmoke" Width="126" Height="32" Margin="0,0,25,0" Command="{Binding CompressCommand}">
|
|
|
|
|
|
+ <Button Name="ModMutiple" Background="WhiteSmoke" Width="126" Height="32" Margin="0,0,25,0" Command="{Binding DelegateChangePrintModCommand}" CommandParameter="{Binding ElementName=ModMutiple}">
|
|
<Border>
|
|
<Border>
|
|
<TextBlock Text="多页"></TextBlock>
|
|
<TextBlock Text="多页"></TextBlock>
|
|
</Border>
|
|
</Border>
|
|
</Button>
|
|
</Button>
|
|
- <Button Background="WhiteSmoke" Width="126" Height="32" Margin="0,0,10,0" Command="{Binding CompressCommand}">
|
|
|
|
|
|
+ <Button Name="ModBooklet" Background="WhiteSmoke" Width="126" Height="32" Margin="0,0,10,0" Command="{Binding DelegateChangePrintModCommand}" CommandParameter="{Binding ElementName=ModBooklet}">
|
|
<Border>
|
|
<Border>
|
|
<TextBlock Text="小册子"></TextBlock>
|
|
<TextBlock Text="小册子"></TextBlock>
|
|
</Border>
|
|
</Border>
|
|
</Button>
|
|
</Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
- <StackPanel Orientation="Horizontal" Height="107">
|
|
|
|
- <StackPanel Orientation="Vertical">
|
|
|
|
- <RadioButton Margin="0,16,0,0">
|
|
|
|
- <TextBlock Text="自动适应"/>
|
|
|
|
- </RadioButton>
|
|
|
|
- <RadioButton Margin="0,19,0,0">
|
|
|
|
- <TextBlock Text="实际大小"/>
|
|
|
|
- </RadioButton>
|
|
|
|
- <RadioButton Margin="0,19,0,0">
|
|
|
|
- <TextBlock Text="自定义显示比例"/>
|
|
|
|
- </RadioButton>
|
|
|
|
- </StackPanel>
|
|
|
|
- <cus:NumericUpDown Width="73" Height="32" VerticalAlignment="Bottom" Margin="15,0,0,2"></cus:NumericUpDown>
|
|
|
|
|
|
+ <StackPanel>
|
|
|
|
+ <Grid>
|
|
|
|
+ <ContentControl Height="180" Margin="12" x:Name="PrintMod" prism:RegionManager.RegionName="{Binding PrintModRegionName}" Visibility="{Binding PrintModVisible}"/>
|
|
|
|
+ </Grid>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
-
|
|
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
</Border>
|
|
</Grid>
|
|
</Grid>
|