Update 20250107

This commit is contained in:
Stefan Hutter
2025-01-07 21:00:50 +01:00
parent 3b0a2b0527
commit af418d0114
706 changed files with 1054974 additions and 976 deletions

View File

@@ -460,11 +460,11 @@ namespace OnDoc.DocMgmt
clsdok dok = new clsdok("", "", "");
if (uc.docgendata.erstellungsart == Erstellungsart.ErstellungInOffice)
{
panelword.Visible = true;
//panelword.Visible = true;
lbldokumentname.Text = tab.Text;
Application.DoEvents();
dok = Generator.Generate_Doc_EDOKA(dokumentid, ref dokdata,true,AppParams.OfficeSpleep1,AppParams.vbvorlagenmanagement=="Yes");
panelword.Visible = false;
//panelword.Visible = false;
Application.DoEvents();
}
@@ -481,7 +481,7 @@ namespace OnDoc.DocMgmt
System.IO.File.WriteAllBytes(filename_temp, Convert.FromBase64String(dok.dokument));
DB db = new DB(AppParams.connectionstring);
db.Save_To_DB(dokdata.Dokumentid, filename_temp);
db.Dok_in_Bearbeitung(1,dokdata.Dokumentid, AppParams.CurrentMitarbieter);
db.Dok_in_Bearbeitung(1,dokdata.Dokumentid, AppParams.CurrentMitarbeiter);
db = null;
System.IO.File.Delete(filename_temp);
clsProcessWatch.AddToList(dokdata.Dokumentid, filename, "Word");
@@ -535,7 +535,8 @@ namespace OnDoc.DocMgmt
public void ribbonButtonNew_Click(object sender, EventArgs e)
{
if (!NeuesDokumentpaket()) { return; }
if (!NeuesDokumentpaket()) { return; }
btnSearchBP_Click(sender, e);
Update_PaketDetails();
dokList1.datafilter = "dokumentid in ('n.a.')";
dokList1.refresh_dokumente();