@@ -44,6 +44,7 @@ namespace UAS_LabelMachine
//设置当前账套
SystemInf.Master = MasterCombox.SelectedValue.ToString();
SystemInf.sdh = sdh = new SqliteDBHelper(SystemInf.Master + ".db3");
+ SystemInf.MasterName = MasterCombox.Text;
//设置了Connection,重新执行构造函数,重置数据库连接
dh = new DataHelper();
Close();
@@ -19,5 +19,7 @@ namespace UAS_LabelMachine.Entity
public static bool CheckDcAndLotNo = false;
public static string IP = "";
+
+ public static string MasterName;
}
@@ -2031,6 +2031,7 @@ namespace UAS_LabelMachine
{
dh = SystemInf.dh;
sdh = SystemInf.sdh;
+ Text = "UAS-出货标签打印-" + SystemInf.MasterName;
private void LabelInf_DataError(object sender, DataGridViewDataErrorEventArgs e) { }