@@ -97,7 +97,14 @@ namespace UAS_MES.Make
private void InPrint()
{
- lbl = new ApplicationClass();
+ try
+ {
+ lbl = new ApplicationClass();
+ }
+ catch (Exception ex)
+ MessageBox.Show("未正确安装codesoft");
}
private void sn_code_KeyDown(object sender, KeyEventArgs e)