diff --git a/MainWindow.xaml b/MainWindow.xaml index acc4c19..447cd62 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -71,7 +71,7 @@ - + diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 9ea8ec0..3d5d2ad 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -317,7 +317,8 @@ namespace formula_manage } private void PRINT_SET(object sender, RoutedEventArgs e) { - + Windows.Print print = new Windows.Print(); + print.ShowDialog();//实例化并置顶打开打印窗口 } private void HELP(object sender, RoutedEventArgs e) { diff --git a/Windows/Print.xaml b/Windows/Print.xaml index 535abf9..802553e 100644 --- a/Windows/Print.xaml +++ b/Windows/Print.xaml @@ -5,8 +5,10 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:formula_manage.Windows" mc:Ignorable="d" - Title="打印预览窗口" Height="450" Width="800"> + Title="打印设置" Height="450" Width="800"> - + +