diff --git a/Windows/Print.xaml.cs b/Windows/Print.xaml.cs
index f7fa0ad..3ee0311 100644
--- a/Windows/Print.xaml.cs
+++ b/Windows/Print.xaml.cs
@@ -121,11 +121,11 @@ namespace formula_manage.Windows
private void Button_Click_1(object sender, RoutedEventArgs e) //编辑模板
{
- /* if (string.IsNullOrEmpty(Print_path.Text))
+ if (string.IsNullOrEmpty(Print_path.Text))
{
System.Windows.MessageBox.Show("模板不能为空");
return;
- }*/
+ }
var data = this.CreateBillData();
if (!data.Item1)
{
@@ -142,11 +142,11 @@ namespace formula_manage.Windows
private void Button_Click_12(object sender, RoutedEventArgs e) //编辑模板
{
- /* if (string.IsNullOrEmpty(Print_path.Text))
+ if (string.IsNullOrEmpty(Print_path.Text))
{
System.Windows.MessageBox.Show("模板不能为空");
return;
- }*/
+ }
var data = this.CreateBillData();
if (!data.Item1)
{
diff --git a/formula_manage.csproj b/formula_manage.csproj
index 00fcf1e..1c991ce 100644
--- a/formula_manage.csproj
+++ b/formula_manage.csproj
@@ -154,8 +154,12 @@
packages\SamOatesGames.ModernUI.Xceed.Toolkit.1.0.1905191936\lib\net45\ModernUI.Xceed.Toolkit.dll
+
+ packages\Smart.FormDesigner.1.4.3\lib\net40\Smart.FormDesigner.dll
+
+
diff --git a/packages.config b/packages.config
index 3dc10f9..4295908 100644
--- a/packages.config
+++ b/packages.config
@@ -8,6 +8,7 @@
+
\ No newline at end of file