This commit is contained in:
sc committed 2024-04-26 21:33:05 +08:00
commit fe5566f730
2 files changed
+2 -16

No files matched your search

-16
View File
@@ -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) //预览模板
{