diff --git a/Windows/Print.xaml.cs b/Windows/Print.xaml.cs index 3ee0311..9f53c82 100644 --- a/Windows/Print.xaml.cs +++ b/Windows/Print.xaml.cs @@ -142,23 +142,7 @@ namespace formula_manage.Windows private void Button_Click_12(object sender, RoutedEventArgs e) //编辑模板 { - if (string.IsNullOrEmpty(Print_path.Text)) - { - System.Windows.MessageBox.Show("模板不能为空"); - return; - } - var data = this.CreateBillData(); - if (!data.Item1) - { - System.Windows.MessageBox.Show("模拟数据生成错误"); - return; - } - var tuple = PrintHelper.Design(Print_path2.Text, data.Item2, data.Item3); - if (!tuple.Item1) - { - System.Windows.MessageBox.Show($"打开设计器失败:{tuple.Item2}"); - } } private void Button_Click_2(object sender, RoutedEventArgs e) //预览模板 { diff --git a/packages.config b/packages.config index e0837f3..bfa3b69 100644 --- a/packages.config +++ b/packages.config @@ -5,11 +5,13 @@ + + \ No newline at end of file