update 20250119

This commit is contained in:
Stefan Hutter
2025-01-19 21:13:37 +01:00
parent bc996921a1
commit 578525cfc4
73 changed files with 271 additions and 134 deletions

View File

@@ -188,7 +188,7 @@ namespace OnDoc
private void timer1_Tick(object sender, EventArgs e)
{
string[] files = Directory.GetFiles(AppParams.tempdir);
for (int i = 0; i < files.Length; i++)
{
@@ -206,13 +206,18 @@ namespace OnDoc
private void EDK_Call(string filename)
{
this.TopMost = true;
System.Windows.Forms.Application.DoEvents();
this.BringToFront();
this.TopMost = false;
System.Windows.Forms.Application.DoEvents();
if (dokList1.profilnr == 0) return;
DB dB = new DB(AppParams.connectionstring);
EDK_Data.Load_EDK_File(filename);
dB.save_edk(filename, AppParams.CurrentMitarbeiter);
//System.IO.File.Delete(filename);
System.IO.File.Delete(filename);
if (EDK_Data.toexecute == true)
{
exec_edk(filename);
@@ -220,6 +225,7 @@ namespace OnDoc
}
private void URI_Call(string filename)
{
this.BringToFront();
if (dokList1.profilnr == 0) return;
if (System.IO.File.Exists(filename))
{