|
@ -83,6 +83,19 @@ namespace BBWY.Client.Views.PackTask |
|
|
|
|
|
|
|
|
var applicationPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); |
|
|
var applicationPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); |
|
|
string printNames = System.IO.Path.Combine(applicationPath, "printName.init"); |
|
|
string printNames = System.IO.Path.Combine(applicationPath, "printName.init"); |
|
|
|
|
|
try |
|
|
|
|
|
{ |
|
|
|
|
|
if (File.Exists(printNames)) |
|
|
|
|
|
{ |
|
|
|
|
|
File.Delete(printNames); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
catch |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
File.WriteAllText(printNames, cbPrintName.Text); |
|
|
File.WriteAllText(printNames, cbPrintName.Text); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|