sc 2 years ago
parent
commit
f5ca4ba3d4
  1. 12
      Windows/Print.xaml
  2. 27
      Windows/Print.xaml.cs
  3. 7
      formula_manage.csproj

12
Windows/Print.xaml

@ -0,0 +1,12 @@
<Window x:Class="formula_manage.Windows.Print"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:formula_manage.Windows"
mc:Ignorable="d"
Title="打印预览窗口" Height="450" Width="800">
<Grid>
<DocumentViewer Name="docViewer"></DocumentViewer>
</Grid>
</Window>

27
Windows/Print.xaml.cs

@ -0,0 +1,27 @@
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 formula_manage.Windows
{
/// <summary>
/// Print.xaml 的交互逻辑
/// </summary>
public partial class Print : Window
{
public Print()
{
InitializeComponent();
}
}
}

7
formula_manage.csproj

@ -197,6 +197,9 @@
<Compile Include="Windows\Dissolve.xaml.cs"> <Compile Include="Windows\Dissolve.xaml.cs">
<DependentUpon>Dissolve.xaml</DependentUpon> <DependentUpon>Dissolve.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="Windows\Print.xaml.cs">
<DependentUpon>Print.xaml</DependentUpon>
</Compile>
<Compile Include="Windows\User.xaml.cs"> <Compile Include="Windows\User.xaml.cs">
<DependentUpon>User.xaml</DependentUpon> <DependentUpon>User.xaml</DependentUpon>
</Compile> </Compile>
@ -255,6 +258,10 @@
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>
<Page Include="Windows\Print.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Windows\User.xaml"> <Page Include="Windows\User.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>

Loading…
Cancel
Save