update 20250501

master
Stefan Hutter 8 months ago
parent eb5c908f0c
commit c7a4e24e3f

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -12298,3 +12298,7 @@ done
2025-04-21 12:31:19.1871|DEBUG|OnDoc| 2025-04-21 12:31:19.1871|DEBUG|OnDoc|
2025-04-21 12:31:19.2156|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal 2025-04-21 12:31:19.2156|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-04-21 12:31:19.2181|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal 2025-04-21 12:31:19.2181|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
2025-04-30 16:35:21.0998|DEBUG|OnDoc|
2025-04-30 16:35:21.1521|DEBUG|OnDoc|
2025-04-30 16:35:21.1797|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
2025-04-30 16:35:21.1797|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal

Binary file not shown.

Binary file not shown.

@ -60,11 +60,12 @@
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(150, 330); this.label2.Location = new System.Drawing.Point(161, 330);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(146, 26); this.label2.Size = new System.Drawing.Size(125, 26);
this.label2.TabIndex = 2; this.label2.TabIndex = 2;
this.label2.Text = "23. April 2025"; this.label2.Text = "1. Mai 2025";
this.label2.Click += new System.EventHandler(this.label2_Click);
// //
// SplashScreen // SplashScreen
// //

@ -36,5 +36,10 @@ namespace OnDoc.Diverses
tmr.Stop(); tmr.Stop();
this.Hide(); this.Hide();
} }
private void label2_Click(object sender, EventArgs e)
{
}
} }
} }

@ -13,6 +13,7 @@ using System.Security.Policy;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
using Windows.Devices.Bluetooth.Advertisement;
using Windows.Media.Streaming.Adaptive; using Windows.Media.Streaming.Adaptive;
using static System.Net.WebRequestMethods; using static System.Net.WebRequestMethods;
namespace OnDoc.Klassen namespace OnDoc.Klassen
@ -61,6 +62,8 @@ namespace OnDoc.Klassen
public static string SignaturePassword { get; set; } = ""; public static string SignaturePassword { get; set; } = "";
public static string Environment { get; set; } = "";
public static bool versandstrassewindows_open { get; set; } = false; public static bool versandstrassewindows_open { get; set; } = false;
static AppParams() static AppParams()
{ {
@ -98,6 +101,7 @@ namespace OnDoc.Klassen
SignatureWidth = db.dsdaten.Tables[0].Rows[0][18].ToString(); SignatureWidth = db.dsdaten.Tables[0].Rows[0][18].ToString();
SignatureColor = db.dsdaten.Tables[0].Rows[0][19].ToString(); SignatureColor = db.dsdaten.Tables[0].Rows[0][19].ToString();
SignaturePassword = db.dsdaten.Tables[0].Rows[0][20].ToString(); SignaturePassword = db.dsdaten.Tables[0].Rows[0][20].ToString();
Environment = db.dsdaten.Tables[0].Rows[0][21].ToString();
} }
else else
{ {

@ -182,25 +182,25 @@ namespace OnDoc.Properties {
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("5000")] [global::System.Configuration.DefaultSettingValueAttribute("E:\\Software-Projekte\\OnDoc\\TKB-Vorlagen\\")]
public string OfficeWatchTimerIntervall { public string NativVorlagen {
get { get {
return ((string)(this["OfficeWatchTimerIntervall"])); return ((string)(this["NativVorlagen"]));
} }
set { set {
this["OfficeWatchTimerIntervall"] = value; this["NativVorlagen"] = value;
} }
} }
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("E:\\Software-Projekte\\OnDoc\\TKB-Vorlagen\\")] [global::System.Configuration.DefaultSettingValueAttribute("20000")]
public string NativVorlagen { public string OfficeWatchTimerIntervall {
get { get {
return ((string)(this["NativVorlagen"])); return ((string)(this["OfficeWatchTimerIntervall"]));
} }
set { set {
this["NativVorlagen"] = value; this["OfficeWatchTimerIntervall"] = value;
} }
} }
} }

@ -118,9 +118,9 @@ namespace OnDoc
this.labelTest.ForeColor = System.Drawing.Color.IndianRed; this.labelTest.ForeColor = System.Drawing.Color.IndianRed;
this.labelTest.Location = new System.Drawing.Point(3, 3); this.labelTest.Location = new System.Drawing.Point(3, 3);
this.labelTest.Name = "labelTest"; this.labelTest.Name = "labelTest";
this.labelTest.Size = new System.Drawing.Size(35, 13); this.labelTest.Size = new System.Drawing.Size(96, 15);
this.labelTest.TabIndex = 0; this.labelTest.TabIndex = 0;
this.labelTest.Text = "label1"; this.labelTest.Text = "Test-Umgebung";
// //
// openFileDialog1 // openFileDialog1
// //
@ -134,6 +134,7 @@ namespace OnDoc
// //
// menuStrip1 // menuStrip1
// //
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.dateiToolStripMenuItem, this.dateiToolStripMenuItem,
this.nativVorlagenToolStripMenuItem}); this.nativVorlagenToolStripMenuItem});
@ -150,13 +151,13 @@ namespace OnDoc
this.profilEinstellungenToolStripMenuItem, this.profilEinstellungenToolStripMenuItem,
this.beendenToolStripMenuItem}); this.beendenToolStripMenuItem});
this.dateiToolStripMenuItem.Name = "dateiToolStripMenuItem"; this.dateiToolStripMenuItem.Name = "dateiToolStripMenuItem";
this.dateiToolStripMenuItem.Size = new System.Drawing.Size(46, 20); this.dateiToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
this.dateiToolStripMenuItem.Text = "&Datei"; this.dateiToolStripMenuItem.Text = "&Datei";
// //
// profilEinstellungenToolStripMenuItem // profilEinstellungenToolStripMenuItem
// //
this.profilEinstellungenToolStripMenuItem.Name = "profilEinstellungenToolStripMenuItem"; this.profilEinstellungenToolStripMenuItem.Name = "profilEinstellungenToolStripMenuItem";
this.profilEinstellungenToolStripMenuItem.Size = new System.Drawing.Size(178, 22); this.profilEinstellungenToolStripMenuItem.Size = new System.Drawing.Size(221, 26);
this.profilEinstellungenToolStripMenuItem.Text = "Profil-Einstellungen"; this.profilEinstellungenToolStripMenuItem.Text = "Profil-Einstellungen";
this.profilEinstellungenToolStripMenuItem.ToolTipText = "Anpassungen von Profilen"; this.profilEinstellungenToolStripMenuItem.ToolTipText = "Anpassungen von Profilen";
this.profilEinstellungenToolStripMenuItem.Visible = false; this.profilEinstellungenToolStripMenuItem.Visible = false;
@ -165,7 +166,7 @@ namespace OnDoc
// beendenToolStripMenuItem // beendenToolStripMenuItem
// //
this.beendenToolStripMenuItem.Name = "beendenToolStripMenuItem"; this.beendenToolStripMenuItem.Name = "beendenToolStripMenuItem";
this.beendenToolStripMenuItem.Size = new System.Drawing.Size(178, 22); this.beendenToolStripMenuItem.Size = new System.Drawing.Size(221, 26);
this.beendenToolStripMenuItem.Text = "&Beenden"; this.beendenToolStripMenuItem.Text = "&Beenden";
this.beendenToolStripMenuItem.ToolTipText = "Anwendung beenden"; this.beendenToolStripMenuItem.ToolTipText = "Anwendung beenden";
this.beendenToolStripMenuItem.Click += new System.EventHandler(this.beendenToolStripMenuItem_Click); this.beendenToolStripMenuItem.Click += new System.EventHandler(this.beendenToolStripMenuItem_Click);
@ -173,13 +174,14 @@ namespace OnDoc
// nativVorlagenToolStripMenuItem // nativVorlagenToolStripMenuItem
// //
this.nativVorlagenToolStripMenuItem.Name = "nativVorlagenToolStripMenuItem"; this.nativVorlagenToolStripMenuItem.Name = "nativVorlagenToolStripMenuItem";
this.nativVorlagenToolStripMenuItem.Size = new System.Drawing.Size(98, 20); this.nativVorlagenToolStripMenuItem.Size = new System.Drawing.Size(123, 20);
this.nativVorlagenToolStripMenuItem.Text = "&Nativ-Vorlagen"; this.nativVorlagenToolStripMenuItem.Text = "&Nativ-Vorlagen";
this.nativVorlagenToolStripMenuItem.Visible = false; this.nativVorlagenToolStripMenuItem.Visible = false;
this.nativVorlagenToolStripMenuItem.Click += new System.EventHandler(this.nativVorlagenToolStripMenuItem_Click); this.nativVorlagenToolStripMenuItem.Click += new System.EventHandler(this.nativVorlagenToolStripMenuItem_Click);
// //
// contextMenuStrip1 // contextMenuStrip1
// //
this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
// //
@ -194,6 +196,8 @@ namespace OnDoc
this.dokList1.mitarbeiternr = 0; this.dokList1.mitarbeiternr = 0;
this.dokList1.Name = "dokList1"; this.dokList1.Name = "dokList1";
this.dokList1.partnernr = 0; this.dokList1.partnernr = 0;
this.dokList1.personbezeichnung = "";
this.dokList1.personnr = 0;
this.dokList1.profilnr = 0; this.dokList1.profilnr = 0;
this.dokList1.runmacros = false; this.dokList1.runmacros = false;
this.dokList1.Search_Docid = ""; this.dokList1.Search_Docid = "";

@ -136,6 +136,7 @@ namespace OnDoc
} }
else { System.Environment.Exit(1); } else { System.Environment.Exit(1); }
} }
if (AppParams.Environment != "PROD") { this.panel1.Visible = true; }
Logging.Logging.Debug("Mitarbeiter", "OnDoc", AppParams.CurrentMitarbeiter.ToString()); Logging.Logging.Debug("Mitarbeiter", "OnDoc", AppParams.CurrentMitarbeiter.ToString());
//partnerTree1.OnStrukturClicked += new PartnerTree.StrukturHandler(testhandler1); //partnerTree1.OnStrukturClicked += new PartnerTree.StrukturHandler(testhandler1);

@ -2961,7 +2961,15 @@ namespace OnDoc.UICintrols
private void ctxMenuDokList_Opening(object sender, CancelEventArgs e) private void ctxMenuDokList_Opening(object sender, CancelEventArgs e)
{ {
if (AppParams.versandstrassewindows_open) { this.zumVersandpaketHinzufügenToolStripMenuItem.Visible = true; } else { this.zumVersandpaketHinzufügenToolStripMenuItem.Visible = false; } if (AppParams.versandstrassewindows_open) {
this.zumVersandpaketHinzufügenToolStripMenuItem.Visible = true;
if (ribbonButtonVersandstrasse.Enabled==true) { this.zumVersandpaketHinzufügenToolStripMenuItem.Enabled = true; }
else
{
this.zumVersandpaketHinzufügenToolStripMenuItem.Enabled = false;
}
}
else { this.zumVersandpaketHinzufügenToolStripMenuItem.Visible = false; }
if (this.sfDataGrid1.GroupColumnDescriptions.Count > 0) if (this.sfDataGrid1.GroupColumnDescriptions.Count > 0)
{ {

@ -190,7 +190,7 @@
<data name="tsbtnpreviewno.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="tsbtnpreviewno.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
/aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
@ -205,7 +205,7 @@
<data name="tsbtnpreviewbottom.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="tsbtnpreviewbottom.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
/aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
@ -220,7 +220,7 @@
<data name="tsbtnpreviewright.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="tsbtnpreviewright.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
/aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t /aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM

@ -30,15 +30,15 @@
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Versandstrasse)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Versandstrasse));
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings15 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings(); Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings3 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings15 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings(); Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings3 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings15 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings(); Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings3 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo3 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings16 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings16 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings16 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo4 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo(); Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo4 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings4 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings4 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings4 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.löschenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.löschenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList1 = new System.Windows.Forms.ImageList(this.components);
@ -117,6 +117,7 @@
this.lblprieveiwbezeichnung = new System.Windows.Forms.Label(); this.lblprieveiwbezeichnung = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.lblerror = new System.Windows.Forms.Label(); this.lblerror = new System.Windows.Forms.Label();
this.pnlpostkorb = new System.Windows.Forms.Panel(); this.pnlpostkorb = new System.Windows.Forms.Panel();
this.lblpostausgang = new System.Windows.Forms.Label(); this.lblpostausgang = new System.Windows.Forms.Label();
@ -128,9 +129,8 @@
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.ribbonButton3 = new System.Windows.Forms.RibbonButton(); this.ribbonButton3 = new System.Windows.Forms.RibbonButton();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.lblserienbrief = new System.Windows.Forms.Label(); this.lblserienbrief = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.contextMenuStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout();
this.panelPrepare.SuspendLayout(); this.panelPrepare.SuspendLayout();
this.GrpPaketDetails.SuspendLayout(); this.GrpPaketDetails.SuspendLayout();
@ -159,14 +159,14 @@
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.löschenToolStripMenuItem}); this.löschenToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(119, 26); this.contextMenuStrip1.Size = new System.Drawing.Size(132, 28);
this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening); this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening);
this.contextMenuStrip1.Click += new System.EventHandler(this.contextMenuStrip1_Click); this.contextMenuStrip1.Click += new System.EventHandler(this.contextMenuStrip1_Click);
// //
// löschenToolStripMenuItem // löschenToolStripMenuItem
// //
this.löschenToolStripMenuItem.Name = "löschenToolStripMenuItem"; this.löschenToolStripMenuItem.Name = "löschenToolStripMenuItem";
this.löschenToolStripMenuItem.Size = new System.Drawing.Size(118, 22); this.löschenToolStripMenuItem.Size = new System.Drawing.Size(131, 24);
this.löschenToolStripMenuItem.Text = "Löschen"; this.löschenToolStripMenuItem.Text = "Löschen";
this.löschenToolStripMenuItem.Click += new System.EventHandler(this.löschenToolStripMenuItem_Click); this.löschenToolStripMenuItem.Click += new System.EventHandler(this.löschenToolStripMenuItem_Click);
// //
@ -195,7 +195,7 @@
// //
this.panelPrepare.BackColor = System.Drawing.Color.Silver; this.panelPrepare.BackColor = System.Drawing.Color.Silver;
this.panelPrepare.Controls.Add(this.label4); this.panelPrepare.Controls.Add(this.label4);
this.panelPrepare.Location = new System.Drawing.Point(308, 205); this.panelPrepare.Location = new System.Drawing.Point(308, 284);
this.panelPrepare.Name = "panelPrepare"; this.panelPrepare.Name = "panelPrepare";
this.panelPrepare.Size = new System.Drawing.Size(832, 69); this.panelPrepare.Size = new System.Drawing.Size(832, 69);
this.panelPrepare.TabIndex = 14; this.panelPrepare.TabIndex = 14;
@ -207,7 +207,7 @@
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(198, 28); this.label4.Location = new System.Drawing.Point(198, 28);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(437, 20); this.label4.Size = new System.Drawing.Size(525, 25);
this.label4.TabIndex = 0; this.label4.TabIndex = 0;
this.label4.Text = "Versand wird vorbereit - bitte einen Moment warten...."; this.label4.Text = "Versand wird vorbereit - bitte einen Moment warten....";
this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
@ -223,17 +223,17 @@
this.pdfViewerControl1.IsTextSearchEnabled = true; this.pdfViewerControl1.IsTextSearchEnabled = true;
this.pdfViewerControl1.IsTextSelectionEnabled = true; this.pdfViewerControl1.IsTextSelectionEnabled = true;
this.pdfViewerControl1.Location = new System.Drawing.Point(908, 54); this.pdfViewerControl1.Location = new System.Drawing.Point(908, 54);
messageBoxSettings15.EnableNotification = true; messageBoxSettings3.EnableNotification = true;
this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings15; this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings3;
this.pdfViewerControl1.MinimumZoomPercentage = 50; this.pdfViewerControl1.MinimumZoomPercentage = 50;
this.pdfViewerControl1.Name = "pdfViewerControl1"; this.pdfViewerControl1.Name = "pdfViewerControl1";
this.pdfViewerControl1.PageBorderThickness = 1; this.pdfViewerControl1.PageBorderThickness = 1;
pdfViewerPrinterSettings15.Copies = 1; pdfViewerPrinterSettings3.Copies = 1;
pdfViewerPrinterSettings15.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto; pdfViewerPrinterSettings3.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
pdfViewerPrinterSettings15.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize; pdfViewerPrinterSettings3.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
pdfViewerPrinterSettings15.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings15.PrintLocation"))); pdfViewerPrinterSettings3.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings3.PrintLocation")));
pdfViewerPrinterSettings15.ShowPrintStatusDialog = true; pdfViewerPrinterSettings3.ShowPrintStatusDialog = true;
this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings15; this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings3;
this.pdfViewerControl1.ReferencePath = null; this.pdfViewerControl1.ReferencePath = null;
this.pdfViewerControl1.ScrollDisplacementValue = 0; this.pdfViewerControl1.ScrollDisplacementValue = 0;
this.pdfViewerControl1.ShowHorizontalScrollBar = true; this.pdfViewerControl1.ShowHorizontalScrollBar = true;
@ -243,10 +243,10 @@
this.pdfViewerControl1.SpaceBetweenPages = 8; this.pdfViewerControl1.SpaceBetweenPages = 8;
this.pdfViewerControl1.TabIndex = 10; this.pdfViewerControl1.TabIndex = 10;
this.pdfViewerControl1.Text = "pdfViewerControl1"; this.pdfViewerControl1.Text = "pdfViewerControl1";
textSearchSettings15.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64))))); textSearchSettings3.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
textSearchSettings15.HighlightAllInstance = true; textSearchSettings3.HighlightAllInstance = true;
textSearchSettings15.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); textSearchSettings3.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
this.pdfViewerControl1.TextSearchSettings = textSearchSettings15; this.pdfViewerControl1.TextSearchSettings = textSearchSettings3;
this.pdfViewerControl1.ThemeName = "Default"; this.pdfViewerControl1.ThemeName = "Default";
this.pdfViewerControl1.VerticalScrollOffset = 0; this.pdfViewerControl1.VerticalScrollOffset = 0;
this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default; this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default;
@ -283,6 +283,7 @@
// //
// groupBox3 // groupBox3
// //
this.groupBox3.Controls.Add(this.label5);
this.groupBox3.Controls.Add(this.label6); this.groupBox3.Controls.Add(this.label6);
this.groupBox3.Controls.Add(this.txtadresse); this.groupBox3.Controls.Add(this.txtadresse);
this.groupBox3.Controls.Add(this.treeViewAdvAdresse); this.groupBox3.Controls.Add(this.treeViewAdvAdresse);
@ -297,34 +298,34 @@
// label6 // label6
// //
this.label6.AutoSize = true; this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(266, 25); this.label6.Location = new System.Drawing.Point(267, 41);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(93, 13); this.label6.Size = new System.Drawing.Size(106, 15);
this.label6.TabIndex = 10; this.label6.TabIndex = 10;
this.label6.Text = "Gewählte Adresse"; this.label6.Text = "Gewählte Adresse";
// //
// txtadresse // txtadresse
// //
this.txtadresse.Location = new System.Drawing.Point(268, 44); this.txtadresse.Location = new System.Drawing.Point(270, 59);
this.txtadresse.Multiline = true; this.txtadresse.Multiline = true;
this.txtadresse.Name = "txtadresse"; this.txtadresse.Name = "txtadresse";
this.txtadresse.ReadOnly = true; this.txtadresse.ReadOnly = true;
this.txtadresse.Size = new System.Drawing.Size(163, 97); this.txtadresse.Size = new System.Drawing.Size(164, 97);
this.txtadresse.TabIndex = 12; this.txtadresse.TabIndex = 12;
// //
// treeViewAdvAdresse // treeViewAdvAdresse
// //
this.treeViewAdvAdresse.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window); this.treeViewAdvAdresse.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
treeNodeAdvStyleInfo2.CheckBoxTickThickness = 1; treeNodeAdvStyleInfo4.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo2.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo4.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.EnsureDefaultOptionedChild = true; treeNodeAdvStyleInfo4.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo2.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo4.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo4.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210))))); treeNodeAdvStyleInfo4.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo2.TextColor = System.Drawing.Color.Black; treeNodeAdvStyleInfo4.TextColor = System.Drawing.Color.Black;
this.treeViewAdvAdresse.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] { this.treeViewAdvAdresse.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo2)}); new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo4)});
this.treeViewAdvAdresse.BeforeTouchSize = new System.Drawing.Size(259, 193); this.treeViewAdvAdresse.BeforeTouchSize = new System.Drawing.Size(259, 174);
// //
// //
// //
@ -336,11 +337,11 @@
this.treeViewAdvAdresse.HelpTextControl.Visible = true; this.treeViewAdvAdresse.HelpTextControl.Visible = true;
this.treeViewAdvAdresse.HideSelection = false; this.treeViewAdvAdresse.HideSelection = false;
this.treeViewAdvAdresse.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText; this.treeViewAdvAdresse.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
this.treeViewAdvAdresse.Location = new System.Drawing.Point(6, 44); this.treeViewAdvAdresse.Location = new System.Drawing.Point(5, 59);
this.treeViewAdvAdresse.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.treeViewAdvAdresse.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
this.treeViewAdvAdresse.Name = "treeViewAdvAdresse"; this.treeViewAdvAdresse.Name = "treeViewAdvAdresse";
this.treeViewAdvAdresse.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText; this.treeViewAdvAdresse.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
this.treeViewAdvAdresse.Size = new System.Drawing.Size(259, 193); this.treeViewAdvAdresse.Size = new System.Drawing.Size(259, 174);
this.treeViewAdvAdresse.TabIndex = 3; this.treeViewAdvAdresse.TabIndex = 3;
this.treeViewAdvAdresse.Text = "treeViewAdv2"; this.treeViewAdvAdresse.Text = "treeViewAdv2";
this.treeViewAdvAdresse.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0; this.treeViewAdvAdresse.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0;
@ -360,11 +361,11 @@
// chkGAS // chkGAS
// //
this.chkGAS.AutoSize = true; this.chkGAS.AutoSize = true;
this.chkGAS.Location = new System.Drawing.Point(3, 21); this.chkGAS.Location = new System.Drawing.Point(6, 21);
this.chkGAS.Name = "chkGAS"; this.chkGAS.Name = "chkGAS";
this.chkGAS.Size = new System.Drawing.Size(178, 17); this.chkGAS.Size = new System.Drawing.Size(203, 19);
this.chkGAS.TabIndex = 0; this.chkGAS.TabIndex = 0;
this.chkGAS.Text = "Frankiertes Rückantwortcouvert"; this.chkGAS.Text = "Frankiertes Rückantwortcouvert ";
this.chkGAS.UseVisualStyleBackColor = true; this.chkGAS.UseVisualStyleBackColor = true;
this.chkGAS.CheckedChanged += new System.EventHandler(this.chkGAS_CheckedChanged); this.chkGAS.CheckedChanged += new System.EventHandler(this.chkGAS_CheckedChanged);
// //
@ -396,7 +397,7 @@
this.txtAnzahlSeiten.Location = new System.Drawing.Point(151, 152); this.txtAnzahlSeiten.Location = new System.Drawing.Point(151, 152);
this.txtAnzahlSeiten.Name = "txtAnzahlSeiten"; this.txtAnzahlSeiten.Name = "txtAnzahlSeiten";
this.txtAnzahlSeiten.ReadOnly = true; this.txtAnzahlSeiten.ReadOnly = true;
this.txtAnzahlSeiten.Size = new System.Drawing.Size(265, 13); this.txtAnzahlSeiten.Size = new System.Drawing.Size(265, 16);
this.txtAnzahlSeiten.TabIndex = 17; this.txtAnzahlSeiten.TabIndex = 17;
// //
// txtAnzahlDokumente // txtAnzahlDokumente
@ -406,7 +407,7 @@
this.txtAnzahlDokumente.Location = new System.Drawing.Point(151, 133); this.txtAnzahlDokumente.Location = new System.Drawing.Point(151, 133);
this.txtAnzahlDokumente.Name = "txtAnzahlDokumente"; this.txtAnzahlDokumente.Name = "txtAnzahlDokumente";
this.txtAnzahlDokumente.ReadOnly = true; this.txtAnzahlDokumente.ReadOnly = true;
this.txtAnzahlDokumente.Size = new System.Drawing.Size(265, 13); this.txtAnzahlDokumente.Size = new System.Drawing.Size(265, 16);
this.txtAnzahlDokumente.TabIndex = 16; this.txtAnzahlDokumente.TabIndex = 16;
// //
// label15 // label15
@ -415,7 +416,7 @@
this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label15.Location = new System.Drawing.Point(10, 152); this.label15.Location = new System.Drawing.Point(10, 152);
this.label15.Name = "label15"; this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(89, 13); this.label15.Size = new System.Drawing.Size(113, 17);
this.label15.TabIndex = 15; this.label15.TabIndex = 15;
this.label15.Text = "Anzahl Seiten:"; this.label15.Text = "Anzahl Seiten:";
// //
@ -425,7 +426,7 @@
this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label14.Location = new System.Drawing.Point(9, 133); this.label14.Location = new System.Drawing.Point(9, 133);
this.label14.Name = "label14"; this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(117, 13); this.label14.Size = new System.Drawing.Size(148, 17);
this.label14.TabIndex = 14; this.label14.TabIndex = 14;
this.label14.Text = "Anzahl Dokumente:"; this.label14.Text = "Anzahl Dokumente:";
// //
@ -459,7 +460,7 @@
this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label7.Location = new System.Drawing.Point(5, 14); this.label7.Location = new System.Drawing.Point(5, 14);
this.label7.Name = "label7"; this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(72, 13); this.label7.Size = new System.Drawing.Size(93, 17);
this.label7.TabIndex = 10; this.label7.TabIndex = 10;
this.label7.Text = "Versandart:"; this.label7.Text = "Versandart:";
// //
@ -479,7 +480,7 @@
this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label8.Location = new System.Drawing.Point(5, 40); this.label8.Location = new System.Drawing.Point(5, 40);
this.label8.Name = "label8"; this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(132, 13); this.label8.Size = new System.Drawing.Size(167, 17);
this.label8.TabIndex = 11; this.label8.TabIndex = 11;
this.label8.Text = "Rückantwort-Adresse:"; this.label8.Text = "Rückantwort-Adresse:";
// //
@ -490,7 +491,7 @@
this.txtVersandoption.Location = new System.Drawing.Point(151, 14); this.txtVersandoption.Location = new System.Drawing.Point(151, 14);
this.txtVersandoption.Name = "txtVersandoption"; this.txtVersandoption.Name = "txtVersandoption";
this.txtVersandoption.ReadOnly = true; this.txtVersandoption.ReadOnly = true;
this.txtVersandoption.Size = new System.Drawing.Size(265, 13); this.txtVersandoption.Size = new System.Drawing.Size(265, 16);
this.txtVersandoption.TabIndex = 12; this.txtVersandoption.TabIndex = 12;
// //
// lblprueftext // lblprueftext
@ -498,7 +499,7 @@
this.lblprueftext.AutoSize = true; this.lblprueftext.AutoSize = true;
this.lblprueftext.Location = new System.Drawing.Point(10, 174); this.lblprueftext.Location = new System.Drawing.Point(10, 174);
this.lblprueftext.Name = "lblprueftext"; this.lblprueftext.Name = "lblprueftext";
this.lblprueftext.Size = new System.Drawing.Size(43, 13); this.lblprueftext.Size = new System.Drawing.Size(48, 15);
this.lblprueftext.TabIndex = 6; this.lblprueftext.TabIndex = 6;
this.lblprueftext.Text = "Prüftext"; this.lblprueftext.Text = "Prüftext";
// //
@ -542,7 +543,7 @@
this.lblprueftextsb2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblprueftextsb2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblprueftextsb2.Location = new System.Drawing.Point(9, 184); this.lblprueftextsb2.Location = new System.Drawing.Point(9, 184);
this.lblprueftextsb2.Name = "lblprueftextsb2"; this.lblprueftextsb2.Name = "lblprueftextsb2";
this.lblprueftextsb2.Size = new System.Drawing.Size(51, 13); this.lblprueftextsb2.Size = new System.Drawing.Size(64, 17);
this.lblprueftextsb2.TabIndex = 20; this.lblprueftextsb2.TabIndex = 20;
this.lblprueftextsb2.Text = "Prüftext"; this.lblprueftextsb2.Text = "Prüftext";
// //
@ -553,7 +554,7 @@
this.txtAnzahlDokumetneSB.Location = new System.Drawing.Point(151, 126); this.txtAnzahlDokumetneSB.Location = new System.Drawing.Point(151, 126);
this.txtAnzahlDokumetneSB.Name = "txtAnzahlDokumetneSB"; this.txtAnzahlDokumetneSB.Name = "txtAnzahlDokumetneSB";
this.txtAnzahlDokumetneSB.ReadOnly = true; this.txtAnzahlDokumetneSB.ReadOnly = true;
this.txtAnzahlDokumetneSB.Size = new System.Drawing.Size(265, 13); this.txtAnzahlDokumetneSB.Size = new System.Drawing.Size(265, 16);
this.txtAnzahlDokumetneSB.TabIndex = 19; this.txtAnzahlDokumetneSB.TabIndex = 19;
// //
// txtRückantwortSB // txtRückantwortSB
@ -573,7 +574,7 @@
this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label16.Location = new System.Drawing.Point(9, 126); this.label16.Location = new System.Drawing.Point(9, 126);
this.label16.Name = "label16"; this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(117, 13); this.label16.Size = new System.Drawing.Size(148, 17);
this.label16.TabIndex = 18; this.label16.TabIndex = 18;
this.label16.Text = "Anzahl Dokumente:"; this.label16.Text = "Anzahl Dokumente:";
// //
@ -583,7 +584,7 @@
this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label9.Location = new System.Drawing.Point(6, 7); this.label9.Location = new System.Drawing.Point(6, 7);
this.label9.Name = "label9"; this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(72, 13); this.label9.Size = new System.Drawing.Size(93, 17);
this.label9.TabIndex = 14; this.label9.TabIndex = 14;
this.label9.Text = "Versandart:"; this.label9.Text = "Versandart:";
// //
@ -593,7 +594,7 @@
this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label10.Location = new System.Drawing.Point(6, 33); this.label10.Location = new System.Drawing.Point(6, 33);
this.label10.Name = "label10"; this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(132, 13); this.label10.Size = new System.Drawing.Size(167, 17);
this.label10.TabIndex = 15; this.label10.TabIndex = 15;
this.label10.Text = "Rückantwort-Adresse:"; this.label10.Text = "Rückantwort-Adresse:";
// //
@ -604,7 +605,7 @@
this.txtversandartsb.Location = new System.Drawing.Point(152, 7); this.txtversandartsb.Location = new System.Drawing.Point(152, 7);
this.txtversandartsb.Name = "txtversandartsb"; this.txtversandartsb.Name = "txtversandartsb";
this.txtversandartsb.ReadOnly = true; this.txtversandartsb.ReadOnly = true;
this.txtversandartsb.Size = new System.Drawing.Size(265, 13); this.txtversandartsb.Size = new System.Drawing.Size(265, 16);
this.txtversandartsb.TabIndex = 16; this.txtversandartsb.TabIndex = 16;
// //
// btnsendserienbrief // btnsendserienbrief
@ -637,7 +638,7 @@
this.lblprueftextSB.AutoSize = true; this.lblprueftextSB.AutoSize = true;
this.lblprueftextSB.Location = new System.Drawing.Point(9, 154); this.lblprueftextSB.Location = new System.Drawing.Point(9, 154);
this.lblprueftextSB.Name = "lblprueftextSB"; this.lblprueftextSB.Name = "lblprueftextSB";
this.lblprueftextSB.Size = new System.Drawing.Size(43, 13); this.lblprueftextSB.Size = new System.Drawing.Size(48, 15);
this.lblprueftextSB.TabIndex = 6; this.lblprueftextSB.TabIndex = 6;
this.lblprueftextSB.Text = "Prüftext"; this.lblprueftextSB.Text = "Prüftext";
// //
@ -663,7 +664,7 @@
this.rbb1post.Checked = true; this.rbb1post.Checked = true;
this.rbb1post.Location = new System.Drawing.Point(74, 21); this.rbb1post.Location = new System.Drawing.Point(74, 21);
this.rbb1post.Name = "rbb1post"; this.rbb1post.Name = "rbb1post";
this.rbb1post.Size = new System.Drawing.Size(62, 17); this.rbb1post.Size = new System.Drawing.Size(71, 19);
this.rbb1post.TabIndex = 5; this.rbb1post.TabIndex = 5;
this.rbb1post.TabStop = true; this.rbb1post.TabStop = true;
this.rbb1post.Text = "B1-Post"; this.rbb1post.Text = "B1-Post";
@ -675,7 +676,7 @@
this.rbb2post.AutoSize = true; this.rbb2post.AutoSize = true;
this.rbb2post.Location = new System.Drawing.Point(6, 21); this.rbb2post.Location = new System.Drawing.Point(6, 21);
this.rbb2post.Name = "rbb2post"; this.rbb2post.Name = "rbb2post";
this.rbb2post.Size = new System.Drawing.Size(62, 17); this.rbb2post.Size = new System.Drawing.Size(71, 19);
this.rbb2post.TabIndex = 4; this.rbb2post.TabIndex = 4;
this.rbb2post.Text = "B2-Post"; this.rbb2post.Text = "B2-Post";
this.rbb2post.UseVisualStyleBackColor = true; this.rbb2post.UseVisualStyleBackColor = true;
@ -686,7 +687,7 @@
this.rbversandoption3.AutoSize = true; this.rbversandoption3.AutoSize = true;
this.rbversandoption3.Location = new System.Drawing.Point(222, 21); this.rbversandoption3.Location = new System.Drawing.Point(222, 21);
this.rbversandoption3.Name = "rbversandoption3"; this.rbversandoption3.Name = "rbversandoption3";
this.rbversandoption3.Size = new System.Drawing.Size(207, 17); this.rbversandoption3.Size = new System.Drawing.Size(238, 19);
this.rbversandoption3.TabIndex = 2; this.rbversandoption3.TabIndex = 2;
this.rbversandoption3.Text = "Hauptadresse, Postversand erzwingen"; this.rbversandoption3.Text = "Hauptadresse, Postversand erzwingen";
this.rbversandoption3.UseVisualStyleBackColor = true; this.rbversandoption3.UseVisualStyleBackColor = true;
@ -697,7 +698,7 @@
this.rbapost.AutoSize = true; this.rbapost.AutoSize = true;
this.rbapost.Location = new System.Drawing.Point(142, 21); this.rbapost.Location = new System.Drawing.Point(142, 21);
this.rbapost.Name = "rbapost"; this.rbapost.Name = "rbapost";
this.rbapost.Size = new System.Drawing.Size(56, 17); this.rbapost.Size = new System.Drawing.Size(63, 19);
this.rbapost.TabIndex = 3; this.rbapost.TabIndex = 3;
this.rbapost.Text = "A-Post"; this.rbapost.Text = "A-Post";
this.rbapost.UseVisualStyleBackColor = true; this.rbapost.UseVisualStyleBackColor = true;
@ -708,7 +709,7 @@
this.rbversandoption2.AutoSize = true; this.rbversandoption2.AutoSize = true;
this.rbversandoption2.Location = new System.Drawing.Point(222, 21); this.rbversandoption2.Location = new System.Drawing.Point(222, 21);
this.rbversandoption2.Name = "rbversandoption2"; this.rbversandoption2.Name = "rbversandoption2";
this.rbversandoption2.Size = new System.Drawing.Size(197, 17); this.rbversandoption2.Size = new System.Drawing.Size(228, 19);
this.rbversandoption2.TabIndex = 1; this.rbversandoption2.TabIndex = 1;
this.rbversandoption2.Text = "Hauptadresse, E-Banking erzwingen"; this.rbversandoption2.Text = "Hauptadresse, E-Banking erzwingen";
this.rbversandoption2.UseVisualStyleBackColor = true; this.rbversandoption2.UseVisualStyleBackColor = true;
@ -719,7 +720,7 @@
this.rbversandoption1.AutoSize = true; this.rbversandoption1.AutoSize = true;
this.rbversandoption1.Location = new System.Drawing.Point(222, 21); this.rbversandoption1.Location = new System.Drawing.Point(222, 21);
this.rbversandoption1.Name = "rbversandoption1"; this.rbversandoption1.Name = "rbversandoption1";
this.rbversandoption1.Size = new System.Drawing.Size(166, 17); this.rbversandoption1.Size = new System.Drawing.Size(191, 19);
this.rbversandoption1.TabIndex = 0; this.rbversandoption1.TabIndex = 0;
this.rbversandoption1.Text = "Hauptadresse und Versandart"; this.rbversandoption1.Text = "Hauptadresse und Versandart";
this.rbversandoption1.UseVisualStyleBackColor = true; this.rbversandoption1.UseVisualStyleBackColor = true;
@ -741,16 +742,16 @@
this.treeViewAdv1.AllowDrop = true; this.treeViewAdv1.AllowDrop = true;
this.treeViewAdv1.BackColor = System.Drawing.Color.White; this.treeViewAdv1.BackColor = System.Drawing.Color.White;
this.treeViewAdv1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.treeViewAdv1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
treeNodeAdvStyleInfo3.CheckBoxTickThickness = 1; treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo3.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo3.EnsureDefaultOptionedChild = true; treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo3.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); treeNodeAdvStyleInfo1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
treeNodeAdvStyleInfo3.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo1.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo3.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo1.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo3.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210))))); treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo3.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
this.treeViewAdv1.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] { this.treeViewAdv1.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo3)}); new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)});
this.treeViewAdv1.BeforeTouchSize = new System.Drawing.Size(462, 530); this.treeViewAdv1.BeforeTouchSize = new System.Drawing.Size(462, 530);
this.treeViewAdv1.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat; this.treeViewAdv1.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat;
this.treeViewAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
@ -765,7 +766,7 @@
this.treeViewAdv1.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv1.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.treeViewAdv1.HelpTextControl.Location = new System.Drawing.Point(732, 0); this.treeViewAdv1.HelpTextControl.Location = new System.Drawing.Point(732, 0);
this.treeViewAdv1.HelpTextControl.Name = "helpText"; this.treeViewAdv1.HelpTextControl.Name = "helpText";
this.treeViewAdv1.HelpTextControl.Size = new System.Drawing.Size(49, 15); this.treeViewAdv1.HelpTextControl.Size = new System.Drawing.Size(55, 17);
this.treeViewAdv1.HelpTextControl.TabIndex = 0; this.treeViewAdv1.HelpTextControl.TabIndex = 0;
this.treeViewAdv1.HelpTextControl.Text = "help text"; this.treeViewAdv1.HelpTextControl.Text = "help text";
this.treeViewAdv1.HideSelection = false; this.treeViewAdv1.HideSelection = false;
@ -802,7 +803,7 @@
this.treeViewAdv1.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv1.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.treeViewAdv1.ToolTipControl.Location = new System.Drawing.Point(642, 0); this.treeViewAdv1.ToolTipControl.Location = new System.Drawing.Point(642, 0);
this.treeViewAdv1.ToolTipControl.Name = "toolTip"; this.treeViewAdv1.ToolTipControl.Name = "toolTip";
this.treeViewAdv1.ToolTipControl.Size = new System.Drawing.Size(41, 15); this.treeViewAdv1.ToolTipControl.Size = new System.Drawing.Size(46, 17);
this.treeViewAdv1.ToolTipControl.TabIndex = 1; this.treeViewAdv1.ToolTipControl.TabIndex = 1;
this.treeViewAdv1.ToolTipControl.Text = "toolTip"; this.treeViewAdv1.ToolTipControl.Text = "toolTip";
this.treeViewAdv1.TransparentControls = true; this.treeViewAdv1.TransparentControls = true;
@ -824,17 +825,17 @@
this.pdfViewerControl2.IsTextSearchEnabled = true; this.pdfViewerControl2.IsTextSearchEnabled = true;
this.pdfViewerControl2.IsTextSelectionEnabled = true; this.pdfViewerControl2.IsTextSelectionEnabled = true;
this.pdfViewerControl2.Location = new System.Drawing.Point(482, 0); this.pdfViewerControl2.Location = new System.Drawing.Point(482, 0);
messageBoxSettings16.EnableNotification = true; messageBoxSettings4.EnableNotification = true;
this.pdfViewerControl2.MessageBoxSettings = messageBoxSettings16; this.pdfViewerControl2.MessageBoxSettings = messageBoxSettings4;
this.pdfViewerControl2.MinimumZoomPercentage = 50; this.pdfViewerControl2.MinimumZoomPercentage = 50;
this.pdfViewerControl2.Name = "pdfViewerControl2"; this.pdfViewerControl2.Name = "pdfViewerControl2";
this.pdfViewerControl2.PageBorderThickness = 1; this.pdfViewerControl2.PageBorderThickness = 1;
pdfViewerPrinterSettings16.Copies = 1; pdfViewerPrinterSettings4.Copies = 1;
pdfViewerPrinterSettings16.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto; pdfViewerPrinterSettings4.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
pdfViewerPrinterSettings16.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize; pdfViewerPrinterSettings4.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
pdfViewerPrinterSettings16.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings16.PrintLocation"))); pdfViewerPrinterSettings4.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings4.PrintLocation")));
pdfViewerPrinterSettings16.ShowPrintStatusDialog = true; pdfViewerPrinterSettings4.ShowPrintStatusDialog = true;
this.pdfViewerControl2.PrinterSettings = pdfViewerPrinterSettings16; this.pdfViewerControl2.PrinterSettings = pdfViewerPrinterSettings4;
this.pdfViewerControl2.ReferencePath = null; this.pdfViewerControl2.ReferencePath = null;
this.pdfViewerControl2.ScrollDisplacementValue = 0; this.pdfViewerControl2.ScrollDisplacementValue = 0;
this.pdfViewerControl2.ShowHorizontalScrollBar = true; this.pdfViewerControl2.ShowHorizontalScrollBar = true;
@ -844,10 +845,10 @@
this.pdfViewerControl2.SpaceBetweenPages = 8; this.pdfViewerControl2.SpaceBetweenPages = 8;
this.pdfViewerControl2.TabIndex = 11; this.pdfViewerControl2.TabIndex = 11;
this.pdfViewerControl2.Text = "pdfViewerControl2"; this.pdfViewerControl2.Text = "pdfViewerControl2";
textSearchSettings16.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64))))); textSearchSettings4.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
textSearchSettings16.HighlightAllInstance = true; textSearchSettings4.HighlightAllInstance = true;
textSearchSettings16.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); textSearchSettings4.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
this.pdfViewerControl2.TextSearchSettings = textSearchSettings16; this.pdfViewerControl2.TextSearchSettings = textSearchSettings4;
this.pdfViewerControl2.ThemeName = "Default"; this.pdfViewerControl2.ThemeName = "Default";
this.pdfViewerControl2.VerticalScrollOffset = 0; this.pdfViewerControl2.VerticalScrollOffset = 0;
this.pdfViewerControl2.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default; this.pdfViewerControl2.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default;
@ -891,7 +892,7 @@
this.textBox4.Location = new System.Drawing.Point(156, 165); this.textBox4.Location = new System.Drawing.Point(156, 165);
this.textBox4.Name = "textBox4"; this.textBox4.Name = "textBox4";
this.textBox4.ReadOnly = true; this.textBox4.ReadOnly = true;
this.textBox4.Size = new System.Drawing.Size(265, 13); this.textBox4.Size = new System.Drawing.Size(265, 16);
this.textBox4.TabIndex = 25; this.textBox4.TabIndex = 25;
// //
// label17 // label17
@ -900,7 +901,7 @@
this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label17.Location = new System.Drawing.Point(12, 165); this.label17.Location = new System.Drawing.Point(12, 165);
this.label17.Name = "label17"; this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(89, 13); this.label17.Size = new System.Drawing.Size(113, 17);
this.label17.TabIndex = 24; this.label17.TabIndex = 24;
this.label17.Text = "Anzahl Seiten:"; this.label17.Text = "Anzahl Seiten:";
// //
@ -911,7 +912,7 @@
this.textBox3.Location = new System.Drawing.Point(156, 141); this.textBox3.Location = new System.Drawing.Point(156, 141);
this.textBox3.Name = "textBox3"; this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true; this.textBox3.ReadOnly = true;
this.textBox3.Size = new System.Drawing.Size(265, 13); this.textBox3.Size = new System.Drawing.Size(265, 16);
this.textBox3.TabIndex = 23; this.textBox3.TabIndex = 23;
// //
// label13 // label13
@ -920,7 +921,7 @@
this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label13.Location = new System.Drawing.Point(12, 141); this.label13.Location = new System.Drawing.Point(12, 141);
this.label13.Name = "label13"; this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(117, 13); this.label13.Size = new System.Drawing.Size(148, 17);
this.label13.TabIndex = 22; this.label13.TabIndex = 22;
this.label13.Text = "Anzahl Dokumente:"; this.label13.Text = "Anzahl Dokumente:";
// //
@ -941,7 +942,7 @@
this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label11.Location = new System.Drawing.Point(10, 19); this.label11.Location = new System.Drawing.Point(10, 19);
this.label11.Name = "label11"; this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(72, 13); this.label11.Size = new System.Drawing.Size(93, 17);
this.label11.TabIndex = 18; this.label11.TabIndex = 18;
this.label11.Text = "Versandart:"; this.label11.Text = "Versandart:";
// //
@ -951,7 +952,7 @@
this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label12.Location = new System.Drawing.Point(10, 45); this.label12.Location = new System.Drawing.Point(10, 45);
this.label12.Name = "label12"; this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(132, 13); this.label12.Size = new System.Drawing.Size(167, 17);
this.label12.TabIndex = 19; this.label12.TabIndex = 19;
this.label12.Text = "Rückantwort-Adresse:"; this.label12.Text = "Rückantwort-Adresse:";
// //
@ -962,7 +963,7 @@
this.textBox2.Location = new System.Drawing.Point(156, 19); this.textBox2.Location = new System.Drawing.Point(156, 19);
this.textBox2.Name = "textBox2"; this.textBox2.Name = "textBox2";
this.textBox2.ReadOnly = true; this.textBox2.ReadOnly = true;
this.textBox2.Size = new System.Drawing.Size(265, 13); this.textBox2.Size = new System.Drawing.Size(265, 16);
this.textBox2.TabIndex = 20; this.textBox2.TabIndex = 20;
// //
// treeViewAdvCouverts // treeViewAdvCouverts
@ -971,16 +972,16 @@
this.treeViewAdvCouverts.AllowMouseBasedSelection = true; this.treeViewAdvCouverts.AllowMouseBasedSelection = true;
this.treeViewAdvCouverts.BackColor = System.Drawing.Color.White; this.treeViewAdvCouverts.BackColor = System.Drawing.Color.White;
this.treeViewAdvCouverts.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))))); this.treeViewAdvCouverts.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
treeNodeAdvStyleInfo4.CheckBoxTickThickness = 1; treeNodeAdvStyleInfo2.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo4.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo2.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo4.EnsureDefaultOptionedChild = true; treeNodeAdvStyleInfo2.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo4.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); treeNodeAdvStyleInfo2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
treeNodeAdvStyleInfo4.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo2.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo4.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo2.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo4.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210))))); treeNodeAdvStyleInfo2.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo4.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); treeNodeAdvStyleInfo2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
this.treeViewAdvCouverts.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] { this.treeViewAdvCouverts.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo4)}); new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo2)});
this.treeViewAdvCouverts.BeforeTouchSize = new System.Drawing.Size(476, 397); this.treeViewAdvCouverts.BeforeTouchSize = new System.Drawing.Size(476, 397);
this.treeViewAdvCouverts.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat; this.treeViewAdvCouverts.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat;
this.treeViewAdvCouverts.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdvCouverts.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
@ -995,7 +996,7 @@
this.treeViewAdvCouverts.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdvCouverts.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.treeViewAdvCouverts.HelpTextControl.Location = new System.Drawing.Point(732, 0); this.treeViewAdvCouverts.HelpTextControl.Location = new System.Drawing.Point(732, 0);
this.treeViewAdvCouverts.HelpTextControl.Name = "helpText"; this.treeViewAdvCouverts.HelpTextControl.Name = "helpText";
this.treeViewAdvCouverts.HelpTextControl.Size = new System.Drawing.Size(49, 15); this.treeViewAdvCouverts.HelpTextControl.Size = new System.Drawing.Size(55, 17);
this.treeViewAdvCouverts.HelpTextControl.TabIndex = 0; this.treeViewAdvCouverts.HelpTextControl.TabIndex = 0;
this.treeViewAdvCouverts.HelpTextControl.Text = "help text"; this.treeViewAdvCouverts.HelpTextControl.Text = "help text";
this.treeViewAdvCouverts.HideSelection = false; this.treeViewAdvCouverts.HideSelection = false;
@ -1032,7 +1033,7 @@
this.treeViewAdvCouverts.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdvCouverts.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.treeViewAdvCouverts.ToolTipControl.Location = new System.Drawing.Point(642, 0); this.treeViewAdvCouverts.ToolTipControl.Location = new System.Drawing.Point(642, 0);
this.treeViewAdvCouverts.ToolTipControl.Name = "toolTip"; this.treeViewAdvCouverts.ToolTipControl.Name = "toolTip";
this.treeViewAdvCouverts.ToolTipControl.Size = new System.Drawing.Size(41, 15); this.treeViewAdvCouverts.ToolTipControl.Size = new System.Drawing.Size(46, 17);
this.treeViewAdvCouverts.ToolTipControl.TabIndex = 1; this.treeViewAdvCouverts.ToolTipControl.TabIndex = 1;
this.treeViewAdvCouverts.ToolTipControl.Text = "toolTip"; this.treeViewAdvCouverts.ToolTipControl.Text = "toolTip";
this.treeViewAdvCouverts.TransparentControls = true; this.treeViewAdvCouverts.TransparentControls = true;
@ -1045,19 +1046,19 @@
this.versandCouvertLöschenToolStripMenuItem, this.versandCouvertLöschenToolStripMenuItem,
this.versandCouvertÖffnenbearbeitenToolStripMenuItem}); this.versandCouvertÖffnenbearbeitenToolStripMenuItem});
this.contextMenuStrip2.Name = "contextMenuStrip2"; this.contextMenuStrip2.Name = "contextMenuStrip2";
this.contextMenuStrip2.Size = new System.Drawing.Size(262, 48); this.contextMenuStrip2.Size = new System.Drawing.Size(313, 52);
// //
// versandCouvertLöschenToolStripMenuItem // versandCouvertLöschenToolStripMenuItem
// //
this.versandCouvertLöschenToolStripMenuItem.Name = "versandCouvertLöschenToolStripMenuItem"; this.versandCouvertLöschenToolStripMenuItem.Name = "versandCouvertLöschenToolStripMenuItem";
this.versandCouvertLöschenToolStripMenuItem.Size = new System.Drawing.Size(261, 22); this.versandCouvertLöschenToolStripMenuItem.Size = new System.Drawing.Size(312, 24);
this.versandCouvertLöschenToolStripMenuItem.Text = "Versand-Couvert löschen"; this.versandCouvertLöschenToolStripMenuItem.Text = "Versand-Couvert löschen";
this.versandCouvertLöschenToolStripMenuItem.Click += new System.EventHandler(this.versandCouvertLöschenToolStripMenuItem_Click); this.versandCouvertLöschenToolStripMenuItem.Click += new System.EventHandler(this.versandCouvertLöschenToolStripMenuItem_Click);
// //
// versandCouvertÖffnenbearbeitenToolStripMenuItem // versandCouvertÖffnenbearbeitenToolStripMenuItem
// //
this.versandCouvertÖffnenbearbeitenToolStripMenuItem.Name = "versandCouvertÖffnenbearbeitenToolStripMenuItem"; this.versandCouvertÖffnenbearbeitenToolStripMenuItem.Name = "versandCouvertÖffnenbearbeitenToolStripMenuItem";
this.versandCouvertÖffnenbearbeitenToolStripMenuItem.Size = new System.Drawing.Size(261, 22); this.versandCouvertÖffnenbearbeitenToolStripMenuItem.Size = new System.Drawing.Size(312, 24);
this.versandCouvertÖffnenbearbeitenToolStripMenuItem.Text = "Versand-Couvert öffnen/bearbeiten"; this.versandCouvertÖffnenbearbeitenToolStripMenuItem.Text = "Versand-Couvert öffnen/bearbeiten";
this.versandCouvertÖffnenbearbeitenToolStripMenuItem.Click += new System.EventHandler(this.versandCouvertÖffnenbearbeitenToolStripMenuItem_Click); this.versandCouvertÖffnenbearbeitenToolStripMenuItem.Click += new System.EventHandler(this.versandCouvertÖffnenbearbeitenToolStripMenuItem_Click);
// //
@ -1194,7 +1195,7 @@
this.lblprieveiwbezeichnung.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblprieveiwbezeichnung.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblprieveiwbezeichnung.Location = new System.Drawing.Point(7, 16); this.lblprieveiwbezeichnung.Location = new System.Drawing.Point(7, 16);
this.lblprieveiwbezeichnung.Name = "lblprieveiwbezeichnung"; this.lblprieveiwbezeichnung.Name = "lblprieveiwbezeichnung";
this.lblprieveiwbezeichnung.Size = new System.Drawing.Size(0, 20); this.lblprieveiwbezeichnung.Size = new System.Drawing.Size(0, 25);
this.lblprieveiwbezeichnung.TabIndex = 0; this.lblprieveiwbezeichnung.TabIndex = 0;
// //
// panel2 // panel2
@ -1218,6 +1219,17 @@
this.panel3.Size = new System.Drawing.Size(462, 138); this.panel3.Size = new System.Drawing.Size(462, 138);
this.panel3.TabIndex = 8; this.panel3.TabIndex = 8;
// //
// richTextBox1
//
this.richTextBox1.BackColor = System.Drawing.Color.LightGray;
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.richTextBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.richTextBox1.Location = new System.Drawing.Point(3, 0);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(453, 132);
this.richTextBox1.TabIndex = 1;
this.richTextBox1.Text = "";
//
// lblerror // lblerror
// //
this.lblerror.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblerror.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -1241,7 +1253,7 @@
this.lblpostausgang.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblpostausgang.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblpostausgang.Location = new System.Drawing.Point(1238, 49); this.lblpostausgang.Location = new System.Drawing.Point(1238, 49);
this.lblpostausgang.Name = "lblpostausgang"; this.lblpostausgang.Name = "lblpostausgang";
this.lblpostausgang.Size = new System.Drawing.Size(135, 20); this.lblpostausgang.Size = new System.Drawing.Size(166, 25);
this.lblpostausgang.TabIndex = 24; this.lblpostausgang.TabIndex = 24;
this.lblpostausgang.Text = "labelpostausgang"; this.lblpostausgang.Text = "labelpostausgang";
this.lblpostausgang.Visible = false; this.lblpostausgang.Visible = false;
@ -1266,7 +1278,7 @@
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(9, 22); this.label1.Location = new System.Drawing.Point(9, 22);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(143, 13); this.label1.Size = new System.Drawing.Size(163, 15);
this.label1.TabIndex = 21; this.label1.TabIndex = 21;
this.label1.Text = "Fortschritt Dokumentversand"; this.label1.Text = "Fortschritt Dokumentversand";
// //
@ -1300,7 +1312,7 @@
this.lblProgressTitel.AutoSize = true; this.lblProgressTitel.AutoSize = true;
this.lblProgressTitel.Location = new System.Drawing.Point(12, 9); this.lblProgressTitel.Location = new System.Drawing.Point(12, 9);
this.lblProgressTitel.Name = "lblProgressTitel"; this.lblProgressTitel.Name = "lblProgressTitel";
this.lblProgressTitel.Size = new System.Drawing.Size(0, 13); this.lblProgressTitel.Size = new System.Drawing.Size(0, 15);
this.lblProgressTitel.TabIndex = 19; this.lblProgressTitel.TabIndex = 19;
// //
// label3 // label3
@ -1308,7 +1320,7 @@
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(435, 78); this.label3.Location = new System.Drawing.Point(435, 78);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(25, 13); this.label3.Size = new System.Drawing.Size(28, 15);
this.label3.TabIndex = 18; this.label3.TabIndex = 18;
this.label3.Text = "100"; this.label3.Text = "100";
// //
@ -1317,7 +1329,7 @@
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 78); this.label2.Location = new System.Drawing.Point(12, 78);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(13, 13); this.label2.Size = new System.Drawing.Size(14, 15);
this.label2.TabIndex = 17; this.label2.TabIndex = 17;
this.label2.Text = "0"; this.label2.Text = "0";
// //
@ -1336,32 +1348,26 @@
this.ribbonButton3.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton3.SmallImage"))); this.ribbonButton3.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton3.SmallImage")));
this.ribbonButton3.Text = "Anzeige Adressposition"; this.ribbonButton3.Text = "Anzeige Adressposition";
// //
// htmlParser1
//
//
// richTextBox1
//
this.richTextBox1.BackColor = System.Drawing.Color.LightGray;
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.richTextBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.richTextBox1.Location = new System.Drawing.Point(3, 0);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(453, 132);
this.richTextBox1.TabIndex = 1;
this.richTextBox1.Text = "";
//
// lblserienbrief // lblserienbrief
// //
this.lblserienbrief.AutoSize = true; this.lblserienbrief.AutoSize = true;
this.lblserienbrief.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblserienbrief.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblserienbrief.Location = new System.Drawing.Point(1236, 48); this.lblserienbrief.Location = new System.Drawing.Point(1236, 48);
this.lblserienbrief.Name = "lblserienbrief"; this.lblserienbrief.Name = "lblserienbrief";
this.lblserienbrief.Size = new System.Drawing.Size(101, 20); this.lblserienbrief.Size = new System.Drawing.Size(125, 25);
this.lblserienbrief.TabIndex = 26; this.lblserienbrief.TabIndex = 26;
this.lblserienbrief.Text = "lblSerienbrief"; this.lblserienbrief.Text = "lblSerienbrief";
this.lblserienbrief.Visible = false; this.lblserienbrief.Visible = false;
// //
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(24, 41);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(167, 15);
this.label5.TabIndex = 13;
this.label5.Text = "(Rückversand: max. 5 Blätter)";
//
// Versandstrasse // Versandstrasse
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -1510,5 +1516,6 @@
private System.Windows.Forms.RichTextBox richTextBox1; private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.Label lblserienbrief; private System.Windows.Forms.Label lblserienbrief;
private System.Windows.Forms.Label label5;
} }
} }

@ -109,7 +109,7 @@ namespace OnDoc.Versandstrasse
treeViewAdvAdresse.Nodes.Add(node); treeViewAdvAdresse.Nodes.Add(node);
} }
treeViewAdvAdresse.SelectedNode = treeViewAdvAdresse.Nodes[0]; //treeViewAdvAdresse.SelectedNode = 0;
treeViewAdvAdresse.Enabled = false; treeViewAdvAdresse.Enabled = false;
db = null; db = null;
@ -224,6 +224,11 @@ namespace OnDoc.Versandstrasse
{ {
if (node.Level == 1) { Verify_Couvert(node); } if (node.Level == 1) { Verify_Couvert(node); }
} }
try
{
treeViewAdv1.SelectedNode = treeViewAdv1.Nodes[0];
}
catch { }
} }
private void set_nodeimage(TreeNodeAdv node, int img) private void set_nodeimage(TreeNodeAdv node, int img)
@ -363,14 +368,34 @@ namespace OnDoc.Versandstrasse
{ {
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["firstdoc"]) == 0) if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["firstdoc"]) == 0)
{ {
if (nodecounter == 0) { set_nodeimage(dokumentnode, 4);versandbereit = false; add_errormessage(2,"Im Versand-Couvert liegt an erstes Position ein Dokument, welches nicht als vorderstes Dokument tauglich ist."); } if (nodecounter == 0) { set_nodeimage(dokumentnode, 4);versandbereit = false; add_errormessage(2,"Im Versand-Couvert liegt an erster Position ein Dokument, welches nicht als vorderstes Dokument tauglich ist"); }
else else
{ {
set_nodeimage(dokumentnode, 5); set_nodeimage(dokumentnode, 5);
} }
db.Get_Tabledata("Select unterschriftlinks, unterschriftrechts, signiert from dokument where dokumentid='" + dokumentnode.Tag + "'", false, true);
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) != 0 || Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][1]) != 0){
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][2]) == 0)
{
set_nodeimage(dokumentnode, 4);
versandbereit = false;
add_errormessage(7, "Im Versand-Couvert sind Dokumente mit fehlender faksimiler Unterschrift");
}
}
} }
else
{
db.Get_Tabledata("Select isnull(unterschriftlinks,0), isnull(unterschriftrechts,0), signiert from dokument where dokumentid='"+dokumentnode.Tag + "'", false, true);
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) >1 || Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][1]) >1 ){
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][2]) == 0){
set_nodeimage(dokumentnode, 2);
versandbereit = false;
add_errormessage(7, "Im Versand-Couvert sind Dokumente mit fehlender faksimiler Unterschrift");
}
}
}
} }
if (node.Nodes.Count == 0) if (node.Nodes.Count == 0)
{ {
@ -475,6 +500,10 @@ namespace OnDoc.Versandstrasse
TreeViewDropPositions dropPosition = this.treeViewDragHighlightTracker.DropPosition; TreeViewDropPositions dropPosition = this.treeViewDragHighlightTracker.DropPosition;
this.treeViewDragHighlightTracker.ClearHighlightNode(); this.treeViewDragHighlightTracker.ClearHighlightNode();
this.currentSourceNode = null; this.currentSourceNode = null;
if (sourceNode.Level == 0) {
return;
}
if (destinationNode != null) if (destinationNode != null)
{ {
switch (dropPosition) switch (dropPosition)
@ -486,11 +515,11 @@ namespace OnDoc.Versandstrasse
sourceNode.Move(destinationNode, NodePositions.Next); sourceNode.Move(destinationNode, NodePositions.Next);
break; break;
case TreeViewDropPositions.OnNode: case TreeViewDropPositions.OnNode:
Versandpaket sourcepaket = sourceNode.Parent.TagObject as Versandpaket; Versandpaket sourcepaket = sourceNode.Parent.TagObject as Versandpaket;
TreeNodeAdv savenode = sourceNode.Parent; TreeNodeAdv savenode = sourceNode.Parent;
sourceNode.Move(destinationNode.Nodes); sourceNode.Move(destinationNode.Nodes);
//gaga
//Versanddokument dem neuen Versandpaket zuordnen //Versanddokument dem neuen Versandpaket zuordnen
Versandpaket paket = destinationNode.TagObject as Versandpaket; Versandpaket paket = destinationNode.TagObject as Versandpaket;
Versanddokument vd = sourceNode.TagObject as Versanddokument; Versanddokument vd = sourceNode.TagObject as Versanddokument;
@ -552,6 +581,8 @@ namespace OnDoc.Versandstrasse
TreeNodeAdv xdestinationNode = this.treeViewDragHighlightTracker.HighlightNode; TreeNodeAdv xdestinationNode = this.treeViewDragHighlightTracker.HighlightNode;
TreeViewDropPositions dropPosition = this.treeViewDragHighlightTracker.DropPosition; TreeViewDropPositions dropPosition = this.treeViewDragHighlightTracker.DropPosition;
if (sourceNode.Level==1) { return false; }
if (destinationNode == null || destinationNode == sourceNode) if (destinationNode == null || destinationNode == sourceNode)
return false; return false;
@ -744,6 +775,7 @@ namespace OnDoc.Versandstrasse
paket.finaldoc = stapel; paket.finaldoc = stapel;
var finalestream = new MemoryStream(Convert.FromBase64String(stapel)); var finalestream = new MemoryStream(Convert.FromBase64String(stapel));
this.pdfViewerControl1.Load(finalestream); this.pdfViewerControl1.Load(finalestream);
@ -762,12 +794,13 @@ namespace OnDoc.Versandstrasse
this.txtAnzahlDokumente.Text = paket.Dokument.Count().ToString(); this.txtAnzahlDokumente.Text = paket.Dokument.Count().ToString();
lblprieveiwbezeichnung.Text = "Aufbereitetes PDF"; lblprieveiwbezeichnung.Text = "Aufbereitetes PDF";
} }
catch { } catch (Exception ex) { MessageBox.Show(ex.Message);
}
panelPrepare.Visible = false; panelPrepare.Visible = false;
Cursor = Cursors.Default; Cursor = Cursors.Default;
Application.DoEvents(); Application.DoEvents();
} }
private string save_stapel(ref Stream[] streams) private string save_stapel(ref Stream[] streams)
{ {
@ -1141,7 +1174,7 @@ namespace OnDoc.Versandstrasse
GrpPaketDetails.Enabled = false; GrpPaketDetails.Enabled = false;
} }
} }
catch { } catch (Exception ex) { }
finally { Cursor.Current=Cursors.Default; } finally { Cursor.Current=Cursors.Default; }
} }
@ -1305,6 +1338,8 @@ namespace OnDoc.Versandstrasse
Versandpaket vp = treeViewAdv1.SelectedNode.TagObject as Versandpaket; Versandpaket vp = treeViewAdv1.SelectedNode.TagObject as Versandpaket;
pakete.Remove(vp); pakete.Remove(vp);
treeViewAdv1.SelectedNode.Remove(); treeViewAdv1.SelectedNode.Remove();
this.pdfViewerControl1.Unload();
} }
} }

@ -127,63 +127,63 @@
<value> <value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADy ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD0
DAAAAk1TRnQBSQFMAgEBBgIAAQEBAAEBARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA DAAAAk1TRnQBSQFMAgEBBgEAARgBAQEYAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AUADAAEgAwABAQEAAQgGAAEIGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA AwABQAMAASADAAEB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EBAYABAQQAAYABAQGAAQEEAAHA AfABDwHwAQ8EAAHAAQMBwAEDBAABgAEBAYABAQQAAYABAQGAAQFEAAGAAQEBgAEBBAABgAEBAYABAQQA
AQMBwAEDBAAB8AEPAfABDwQACw== AcABAwHAAQMEAAHwAQ8B8AEPBAAL
</value> </value>
</data> </data>
<metadata name="imageList1_sik.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="imageList1_sik.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
@ -194,7 +194,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAU ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAU
DAAAAk1TRnQBSQFMAgEBBQEAAQgBAQEIAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo DAAAAk1TRnQBSQFMAgEBBQEAASABAQEgAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@ -248,7 +248,7 @@
AYABAQIAAeABBwHAAQMBwAEDAgAB8AEPAfABDwHwAQ8BgAEBCw== AYABAQIAAeABBwHAAQMBwAEDAgAB8AEPAfABDwHwAQ8BgAEBCw==
</value> </value>
</data> </data>
<data name="pdfViewerPrinterSettings15.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64"> <data name="pdfViewerPrinterSettings3.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
<value> <value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0 AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh
@ -337,7 +337,7 @@
/wM19F1wo1uqCAAAAABJRU5ErkJggg== /wM19F1wo1uqCAAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="pdfViewerPrinterSettings16.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64"> <data name="pdfViewerPrinterSettings4.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
<value> <value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0 AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh
@ -355,7 +355,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAq ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAq
CQAAAk1TRnQBSQFMAgEBAwEAAcgBAAHIAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo CQAAAk1TRnQBSQFMAgEBAwEAAeABAAHgAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@ -414,71 +414,6 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg== vAAADrwBlbxySQAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg==
</value> </value>
</data>
<metadata name="htmlParser1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>763, 17</value>
</metadata>
<data name="htmlParser1.XmlScheme" xml:space="preserve">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;LexScheme xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;Author&gt;AlterNET Software&lt;/Author&gt;
&lt;Copyright&gt;Copyright (c) 2016-2023 Alternet Software&lt;/Copyright&gt;
&lt;FileType&gt;html&lt;/FileType&gt;
&lt;Version&gt;1.5&lt;/Version&gt;
&lt;Styles&gt;
&lt;Style&gt;
&lt;Name&gt;idents&lt;/Name&gt;
&lt;ForeColor&gt;ControlText&lt;/ForeColor&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;numbers&lt;/Name&gt;
&lt;ForeColor&gt;ControlText&lt;/ForeColor&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;reswords&lt;/Name&gt;
&lt;ForeColor&gt;Blue&lt;/ForeColor&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;comments&lt;/Name&gt;
&lt;ForeColor&gt;Green&lt;/ForeColor&gt;
&lt;PlainText&gt;true&lt;/PlainText&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;xmlcomments&lt;/Name&gt;
&lt;ForeColor&gt;Gray&lt;/ForeColor&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;symbols&lt;/Name&gt;
&lt;ForeColor&gt;ControlText&lt;/ForeColor&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;whitespace&lt;/Name&gt;
&lt;ForeColor&gt;WindowText&lt;/ForeColor&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;strings&lt;/Name&gt;
&lt;ForeColor&gt;Maroon&lt;/ForeColor&gt;
&lt;PlainText&gt;true&lt;/PlainText&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;directives&lt;/Name&gt;
&lt;ForeColor&gt;Blue&lt;/ForeColor&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;htmlparams&lt;/Name&gt;
&lt;ForeColor&gt;Red&lt;/ForeColor&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;syntax errors&lt;/Name&gt;
&lt;ForeColor&gt;Red&lt;/ForeColor&gt;
&lt;/Style&gt;
&lt;Style&gt;
&lt;Name&gt;code snippets&lt;/Name&gt;
&lt;ForeColor&gt;Black&lt;/ForeColor&gt;
&lt;BackColor&gt;255:255:231:160&lt;/BackColor&gt;
&lt;/Style&gt;
&lt;/Styles&gt;
&lt;/LexScheme&gt;</value>
</data> </data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -269,7 +269,6 @@ E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Syncfusion.Tools.Windows.dll
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Syncfusion.TreeMap.Windows.dll E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Syncfusion.TreeMap.Windows.dll
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Syncfusion.XlsIO.Base.dll E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Syncfusion.XlsIO.Base.dll
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\VBFileManagement.dll E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\VBFileManagement.dll
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Versandstrasse.dll
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\WinSign.dll E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\WinSign.dll
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\FastReport.dll E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\FastReport.dll
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\VBOffice.dll E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\VBOffice.dll
@ -379,3 +378,4 @@ E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.exe
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.pdb E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.pdb
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.DocMgmt.FrmDokumentwerte.resources E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.DocMgmt.FrmDokumentwerte.resources
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.Diverses.FrmExternalDocEdit.resources E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.Diverses.FrmExternalDocEdit.resources
E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\Versandstrasse.dll

Binary file not shown.

Binary file not shown.

@ -546,8 +546,14 @@ namespace DOCGEN.Klassen
if (document.ProtectionType == ProtectionType.NoProtection) if (document.ProtectionType == ProtectionType.NoProtection)
{ {
WParagraph paragraph = document.Sections[0].Paragraphs[0] as WParagraph; WParagraph paragraph = document.Sections[0].Paragraphs[0] as WParagraph;
//BookmarkStart bookmarkStart = new BookmarkStart(document, dm.BookMark);
//paragraph.Items.Insert(0, bookmarkStart);
BookmarkStart bookmarkStart = new BookmarkStart(document, dm.BookMark); BookmarkStart bookmarkStart = new BookmarkStart(document, dm.BookMark);
BookmarkEnd bookmarkEnd = new BookmarkEnd(document, dm.BookMark);
paragraph.Items.Insert(0, bookmarkStart); paragraph.Items.Insert(0, bookmarkStart);
paragraph.Items.Insert(2, bookmarkEnd);
} }
else else
{ {
@ -901,11 +907,13 @@ namespace DOCGEN.Klassen
if (docData.barcode_horizontal == 0) if (docData.barcode_horizontal == 0)
{ {
barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, docData.barcode_zusatz, "Futur Book", 8,270); barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, docData.barcode_zusatz, "Futur Book", 8,270);
//barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 429, 52, docData.barcode_zusatz, "Futur Book", 8, 270);
} }
else else
{ {
barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, docData.barcode_zusatz, "Futur Book", 8, 0); barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, docData.barcode_zusatz, "Futur Book", 8, 0);
//barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 429, 52, docData.barcode_zusatz, "Futur Book", 8, 0);
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -191,4 +191,101 @@ namespace Logging
return false; return false;
} }
} }
public class VersandstrasseLog
{
private static readonly NLog.Logger Logger = NLog.LogManager.GetLogger("Versandstrasse");
public static string connectionstring { get; set; } = "";
public static string IntLogLevel { get; set; } = "";
public static string IntUserID { get; set; } = "*";
public static void init_logger()
{
var dbTarget = LogManager.Configuration.FindTargetByName<DatabaseTarget>("Versandstrasse");
dbTarget.ConnectionString = connectionstring;
}
public static void Info(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Info") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Info(message);
}
public static void Warning(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Warning") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Warn(message);
}
public static void Error(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Error") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paektid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Error(message);
}
public static void Fatal(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Fatal") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Fatal(message);
}
public static void Trance(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Trace") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Trace(message);
}
public static void Debug(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Debug") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Debug(message);
}
private static Boolean DoLogging(string Loglevel)
{
if (IntUserID != "*")
{
if (IntUserID.Contains(System.Security.Principal.WindowsIdentity.GetCurrent().Name))
{
if (IntLogLevel.Contains(Loglevel))
{
return true;
}
}
}
else
{
if (IntLogLevel.Contains(Loglevel))
{
return true;
}
}
return false;
}
}
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1988,19 +1988,37 @@ namespace OnDocOffice
clsFileHelper fh = new clsFileHelper(); clsFileHelper fh = new clsFileHelper();
string filename=tempdir+ DateTime.Now.ToString("yyyyMMddhhmmss")+"_"+dokumentid+dok.extension; string filename=tempdir+ DateTime.Now.ToString("yyyyMMddhhmmss")+"_"+dokumentid+dok.extension;
string outputfile = filename + ".pdf"; string outputfile = filename + ".pdf";
fh.SaveBase64ToFile(dok.dokument, filename); try
Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.Application(); {
Microsoft.Office.Interop.Word.Document worddoc = new Microsoft.Office.Interop.Word.Document(); fh.SaveBase64ToFile(dok.dokument, filename);
worddoc= word.Documents.Open(filename); Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.Application();
word.ActiveDocument.EmbedTrueTypeFonts = true; Microsoft.Office.Interop.Word.Document worddoc = new Microsoft.Office.Interop.Word.Document();
worddoc.EmbedTrueTypeFonts= true; worddoc = word.Documents.Open(filename);
worddoc.ExportAsFixedFormat(outputfile.ToString(), Microsoft.Office.Interop.Word.WdExportFormat.wdExportFormatPDF, false, Microsoft.Office.Interop.Word.WdExportOptimizeFor.wdExportOptimizeForPrint, Microsoft.Office.Interop.Word.WdExportRange.wdExportAllDocument,0,99, Microsoft.Office.Interop.Word.WdExportItem.wdExportDocumentContent, true, true, Microsoft.Office.Interop.Word.WdExportCreateBookmarks.wdExportCreateNoBookmarks, true, true, false); word.ActiveDocument.EmbedTrueTypeFonts = true;
worddoc.EmbedTrueTypeFonts = true;
worddoc.ExportAsFixedFormat(outputfile.ToString(), Microsoft.Office.Interop.Word.WdExportFormat.wdExportFormatPDF, false, Microsoft.Office.Interop.Word.WdExportOptimizeFor.wdExportOptimizeForPrint, Microsoft.Office.Interop.Word.WdExportRange.wdExportAllDocument, 0, 99, Microsoft.Office.Interop.Word.WdExportItem.wdExportDocumentContent, true, true, Microsoft.Office.Interop.Word.WdExportCreateBookmarks.wdExportCreateNoBookmarks, true, true, false);
worddoc.Close(false);
word.Quit(false);
worddoc = null;
word = null;
return fh.Base64FromFile(outputfile);
}
catch { return ""; }
finally
{
try
{
System.IO.File.Delete(filename);
}
catch { }
try
{
System.IO.File.Delete(outputfile.ToString());
}
catch { };
}
worddoc.Close(false);
word.Quit(false);
worddoc = null;
word = null;
return fh.Base64FromFile(outputfile);
} }

@ -22,6 +22,12 @@
<setting name="LogConnectionstring" serializeAs="String"> <setting name="LogConnectionstring" serializeAs="String">
<value>Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value> <value>Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
</setting> </setting>
<setting name="adminmail" serializeAs="String">
<value>dm@tkb.ch</value>
</setting>
<setting name="prefix_betreff" serializeAs="String">
<value>INT: </value>
</setting>
</OnDoc_Paketversand.Properties.Settings> </OnDoc_Paketversand.Properties.Settings>
</userSettings> </userSettings>
</configuration> </configuration>

@ -0,0 +1,291 @@
using NLog;
using NLog.Targets;
using NLog.Time;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Logging
{
public class Logging
{
private static readonly NLog.Logger Logger = NLog.LogManager.GetLogger("OnDoc");
public static string connectionstring { get; set; } = "";
public static string IntLogLevel { get; set; } = "";
public static string IntUserID { get; set; } = "*";
public static void init_logger()
{
var dbTarget = LogManager.Configuration.FindTargetByName<DatabaseTarget>("OnDoc");
dbTarget.ConnectionString = connectionstring;
}
public static void Info(string message, string herkunft, string zusatz)
{
if (DoLogging("Info") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Zusatz", zusatz);
Logger.Info(message);
}
public static void Warning(string message, string herkunft, string zusatz)
{
if (DoLogging("Warning") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Zusatz", zusatz);
Logger.Warn(message);
}
public static void Error(string message, string herkunft, string zusatz)
{
if (DoLogging("Error") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Zusatz", zusatz);
Logger.Error(message);
}
public static void Fatal(string message, string herkunft, string zusatz)
{
if (DoLogging("Fatal") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Zusatz", zusatz);
Logger.Fatal(message);
}
public static void Trance(string message, string herkunft, string zusatz)
{
if (DoLogging("Trace") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Zusatz", zusatz);
Logger.Trace(message);
}
public static void Debug(string message, string herkunft, string zusatz)
{
if (DoLogging("Debug") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Zusatz", zusatz);
Logger.Debug(message);
}
private static Boolean DoLogging(string Loglevel)
{
if (IntUserID != "*")
{
if (IntUserID.Contains(System.Security.Principal.WindowsIdentity.GetCurrent().Name))
{
if (IntLogLevel.Contains(Loglevel))
{
return true;
}
}
}
else
{
if (IntLogLevel.Contains(Loglevel))
{
return true;
}
}
return false;
}
}
public class DocLog
{
private static readonly NLog.Logger Logger = NLog.LogManager.GetLogger("DocLog");
public static string connectionstring { get; set; } = "";
public static string IntLogLevel { get; set; } = "";
public static string IntUserID { get; set; } = "*";
public static void init_logger()
{
var dbTarget = LogManager.Configuration.FindTargetByName<DatabaseTarget>("DocLog");
dbTarget.ConnectionString = connectionstring;
}
public static void Info(string message, string herkunft, string dokumentid, string partnernr, string aktion)
{
if (DoLogging("Info") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Dokumentid", dokumentid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Info(message);
}
public static void Warning(string message, string herkunft, string dokumentid, string partnernr, string aktion)
{
if (DoLogging("Warning") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Dokumentid", dokumentid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Warn(message);
}
public static void Error(string message, string herkunft, string dokumentid, string partnernr, string aktion)
{
if (DoLogging("Error") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Dokumentid", dokumentid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Error(message);
}
public static void Fatal(string message, string herkunft, string dokumentid, string partnernr, string aktion)
{
if (DoLogging("Fatal") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Dokumentid", dokumentid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Fatal(message);
}
public static void Trance(string message, string herkunft, string dokumentid, string partnernr, string aktion)
{
if (DoLogging("Trace") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Dokumentid", dokumentid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Trace(message);
}
public static void Debug(string message, string herkunft, string dokumentid, string partnernr, string aktion)
{
if (DoLogging("Debug") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Dokumentid", dokumentid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Debug(message);
}
private static Boolean DoLogging(string Loglevel)
{
if (IntUserID != "*")
{
if (IntUserID.Contains(System.Security.Principal.WindowsIdentity.GetCurrent().Name))
{
if (IntLogLevel.Contains(Loglevel))
{
return true;
}
}
}
else
{
if (IntLogLevel.Contains(Loglevel))
{
return true;
}
}
return false;
}
}
public class VersandstrasseLog
{
private static readonly NLog.Logger Logger = NLog.LogManager.GetLogger("Versandstrasse");
public static string connectionstring { get; set; } = "";
public static string IntLogLevel { get; set; } = "";
public static string IntUserID { get; set; } = "*";
public static void init_logger()
{
var dbTarget = LogManager.Configuration.FindTargetByName<DatabaseTarget>("Versandstrasse");
dbTarget.ConnectionString = connectionstring;
}
public static void Info(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Info") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Info(message);
}
public static void Warning(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Warning") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Warn(message);
}
public static void Error(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Error") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paektid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Error(message);
}
public static void Fatal(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Fatal") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Fatal(message);
}
public static void Trance(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Trace") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Trace(message);
}
public static void Debug(string message, string herkunft, string paketid, string partnernr, string aktion)
{
if (DoLogging("Debug") != true) { return; }
GlobalDiagnosticsContext.Set("Herkunft", herkunft);
GlobalDiagnosticsContext.Set("Paketid", paketid);
GlobalDiagnosticsContext.Set("Partnernr", partnernr);
GlobalDiagnosticsContext.Set("Aktion", aktion);
Logger.Debug(message);
}
private static Boolean DoLogging(string Loglevel)
{
if (IntUserID != "*")
{
if (IntUserID.Contains(System.Security.Principal.WindowsIdentity.GetCurrent().Name))
{
if (IntLogLevel.Contains(Loglevel))
{
return true;
}
}
}
else
{
if (IntLogLevel.Contains(Loglevel))
{
return true;
}
}
return false;
}
}
}

@ -37,8 +37,9 @@
<Reference Include="EDOKA_Logger"> <Reference Include="EDOKA_Logger">
<HintPath>..\Logger\bin\Debug\EDOKA_Logger.dll</HintPath> <HintPath>..\Logger\bin\Debug\EDOKA_Logger.dll</HintPath>
</Reference> </Reference>
<Reference Include="Logging"> <Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\Logging\bin\Debug\Logging.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>..\Client\bin\Debug\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="NLog"> <Reference Include="NLog">
<HintPath>..\Logger\bin\Debug\NLog.dll</HintPath> <HintPath>..\Logger\bin\Debug\NLog.dll</HintPath>
@ -56,6 +57,8 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="clsSerienbrief.cs" />
<Compile Include="Logging.cs" />
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Settings.Designer.cs"> <Compile Include="Properties\Settings.Designer.cs">
@ -63,6 +66,7 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput> <DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon> <DependentUpon>Settings.settings</DependentUpon>
</Compile> </Compile>
<Compile Include="VersandstrassePaket.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="App.config" /> <None Include="App.config" />

@ -9,11 +9,15 @@ using System.IO;
using System.Data.SqlClient; using System.Data.SqlClient;
using System.Data; using System.Data;
using System.Security.Cryptography; using System.Security.Cryptography;
using Newtonsoft.Json;
using System.Net.Mail;
using System.Net.Http;
namespace OnDoc_Paketversand namespace OnDoc_Paketversand
{ {
internal class Program internal class Program
{ {
private static string connectionstring { get; set; } = ""; private static string connectionstring { get; set; } = "";
@ -27,28 +31,39 @@ namespace OnDoc_Paketversand
public static void InitLogging() public static void InitLogging()
{ {
Get_Tabledata("Select * from nlog_parameter WHERE ID=4", false, true); Get_Tabledata("Select * from nlog_parameter WHERE ID=4", false, true);
Logging.Logging.IntLogLevel = dsdaten.Tables[0].Rows[0]["LogLevel"].ToString(); Logging.VersandstrasseLog.IntLogLevel = dsdaten.Tables[0].Rows[0]["LogLevel"].ToString();
Logging.Logging.IntUserID = dsdaten.Tables[0].Rows[0]["LogUserID"].ToString(); Logging.VersandstrasseLog.IntUserID = dsdaten.Tables[0].Rows[0]["LogUserID"].ToString();
Logging.Logging.connectionstring = Properties.Settings.Default.LogConnectionstring; Logging.VersandstrasseLog.connectionstring = Properties.Settings.Default.LogConnectionstring;
Logging.Logging.init_logger(); Logging.VersandstrasseLog.init_logger();
} }
private static void run(){ private static void run()
{
connectionstring = Properties.Settings.Default.Connectionstring; connectionstring = Properties.Settings.Default.Connectionstring;
Console.WriteLine(connectionstring); InitLogging();
Logging.VersandstrasseLog.Info("Start OnDocPaketversand", "OnDoc-Paketversand", "", "", "");
string URLBase = Properties.Settings.Default.RESTURI + "api/Send_Versandstrasse?paketid="; string URLBase = Properties.Settings.Default.RESTURI + "api/Send_Versandstrasse?paketid=";
Console.WriteLine(URLBase);
Get_Tabledata("Select id,paket from ondoc_versandstrasse_paket where versendet=0 and geloescht=0 and aktiv=1 order by versandoption", false, true); string sql = "SELECT dbo.Ondoc_Versandstrasse_Paket.id, dbo.Ondoc_Versandstrasse_Paket.paket, dbo.Ondoc_Versandstrasse_Paket.ersteller, dbo.mitarbeiter.email";
sql = sql + " FROM dbo.Ondoc_Versandstrasse_Paket INNER JOIN dbo.mitarbeiter ON dbo.Ondoc_Versandstrasse_Paket.ersteller = dbo.mitarbeiter.mitarbeiternr";
sql = sql + " where (dbo.Ondoc_Versandstrasse_Paket.versendet = 0) AND (dbo.Ondoc_Versandstrasse_Paket.geloescht = 0) AND (dbo.Ondoc_Versandstrasse_Paket.aktiv = 1)";
sql = sql + " ORDER BY dbo.Ondoc_Versandstrasse_Paket.Versandoption";
Get_Tabledata(sql, false, true);
int total = 0;
int ok = 0;
int error = 0;
foreach (System.Data.DataRow dr in dsdaten.Tables[0].Rows) foreach (System.Data.DataRow dr in dsdaten.Tables[0].Rows)
{ {
Console.WriteLine("PaketID:"+ dr[0].ToString()); string paketid = "";
string ersteller = "";
ersteller = dr[3].ToString();
paketid = dr[0].ToString();
Model.Versandpaket vp = JsonConvert.DeserializeObject<Model.Versandpaket>(dr[1].ToString());
Logging.VersandstrasseLog.Info("Paket-Verarbeitung", "OnDoc-Paketversand", paketid, vp.partnernr.ToString(), "Start Versand");
string jsonstring = dr[1].ToString(); string jsonstring = dr[1].ToString();
string URL = URLBase+ dr[0].ToString(); string URL = URLBase + dr[0].ToString();
WebRequest request; WebRequest request;
var data = Encoding.UTF8.GetBytes(jsonstring); var data = Encoding.UTF8.GetBytes(jsonstring);
request = WebRequest.Create(URL); request = WebRequest.Create(URL);
@ -57,6 +72,7 @@ namespace OnDoc_Paketversand
request.Method = "POST"; request.Method = "POST";
request.Headers["Authorization"] = "Bearer " + Properties.Settings.Default.APIKey; request.Headers["Authorization"] = "Bearer " + Properties.Settings.Default.APIKey;
string response; string response;
total = total + 1;
try try
{ {
@ -73,22 +89,41 @@ namespace OnDoc_Paketversand
} }
if (response.ToString().Contains("archiviert")) if (response.ToString().Contains("archiviert"))
{ {
Logging.VersandstrasseLog.Info("Paket-Verarbeitung", "OnDoc-Paketversand", paketid, vp.partnernr.ToString(), "Ende Versand");
ok = ok + 1;
}
else
{
string message = "Das Versand-Couvert Nr. " + paketid + " / Partner-Nr " + vp.partnernr + " konnte nicht versendet werden.";
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", message);
sendmail(ersteller, "OnDoc-Paketversand: Dokument nicht Versandcouvert nicht versendet", message);
Logging.VersandstrasseLog.Error("Paket-Verarbeitung", "OnDoc-Paketversand", paketid, vp.partnernr.ToString(), "Ende Versand");
error = error + 1;
} }
} }
} }
} }
catch { } catch (Exception ex)
{
Logging.VersandstrasseLog.Error("Paket-Verarbeitung", "OnDoc-Paketversand", dr[0].ToString(), vp.partnernr.ToString(), "Ende Versand - " + ex.Message);
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand Fehler", ex.Message);
error = error + 1;
}
} }
Logging.VersandstrasseLog.Info("Ende OnDocPaketversand", "OnDoc-Paketversand", "", "", "");
string msg = "OnDok Paketversand durchgeführt" + Environment.NewLine + "Total Pakete:" + total.ToString() + Environment.NewLine + "OK: " + ok.ToString() + Environment.NewLine + "Fehler: " + error.ToString();
sendmail(Properties.Settings.Default.adminmail, "OnDoc-Paketversand abgeschlossen", msg);
} }
private static DataTable Get_Tabledata(string Tablename, bool StoredProc = false, bool is_SQL_String = false, DataTable sp_params = null) private static DataTable Get_Tabledata(string Tablename, bool StoredProc = false, bool is_SQL_String = false, DataTable sp_params = null)
{ {
try try
{ {
if (sp_params == null && SP_Parameters.Rows.Count > 0) if (sp_params == null && SP_Parameters.Rows.Count > 0)
{ {
sp_params = SP_Parameters.Copy(); sp_params = SP_Parameters.Copy();
@ -135,15 +170,41 @@ namespace OnDoc_Paketversand
sqlconnect.Open(); sqlconnect.Open();
da.Fill(dsdaten, "Daten1"); da.Fill(dsdaten, "Daten1");
sqlconnect.Close(); sqlconnect.Close();
return dsdaten.Tables[0]; return dsdaten.Tables[0];
} }
catch (Exception ex) catch (Exception ex)
{ {
Console.WriteLine(ex.Message); Console.WriteLine(ex.Message);
return null; return null;
} }
} }
private static void sendmail(string empfaenger, string betreff, string message)
{
MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient();
mail.To.Add(empfaenger);
mail.From = new MailAddress("OnDoc@tkb.ch");
mail.Subject = Properties.Settings.Default.prefix_betreff + betreff;
mail.IsBodyHtml = true;
mail.Body = message;
SmtpServer.Host = "smtp.tgcorp.ch";
SmtpServer.Port = 25;
SmtpServer.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
try
{
SmtpServer.Send(mail);
Logging.VersandstrasseLog.Info("Mailversand and " + empfaenger + " erfolgt", "OnDoc-Paketversand", "", "", "");
}
catch (Exception ex)
{
Logging.VersandstrasseLog.Error("Mailversand and " + empfaenger + " nicht erfolgt", "OnDoc-Paketversand", "", "", "");
}
mail = null;
SmtpServer = null;
}
} }
} }

@ -74,5 +74,29 @@ namespace OnDoc_Paketversand.Properties {
this["LogConnectionstring"] = value; this["LogConnectionstring"] = value;
} }
} }
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("dm@tkb.ch")]
public string adminmail {
get {
return ((string)(this["adminmail"]));
}
set {
this["adminmail"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("INT: ")]
public string prefix_betreff {
get {
return ((string)(this["prefix_betreff"]));
}
set {
this["prefix_betreff"] = value;
}
}
} }
} }

@ -14,5 +14,11 @@
<Setting Name="LogConnectionstring" Type="System.String" Scope="User"> <Setting Name="LogConnectionstring" Type="System.String" Scope="User">
<Value Profile="(Default)">Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</Value> <Value Profile="(Default)">Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</Value>
</Setting> </Setting>
<Setting Name="adminmail" Type="System.String" Scope="User">
<Value Profile="(Default)">dm@tkb.ch</Value>
</Setting>
<Setting Name="prefix_betreff" Type="System.String" Scope="User">
<Value Profile="(Default)">INT: </Value>
</Setting>
</Settings> </Settings>
</SettingsFile> </SettingsFile>

@ -0,0 +1,70 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class Versandpaket
{
public string bezeichnung { get; set; }
public string PaketNr { get; set; }
public string Versandoption { get; set; }
public string Mitteilung { get; set; }
public string GAS { get; set; }
public string GASAdresse { get; set; }
public bool verified { get; set; } = false;
public int partnernr { get; set; } = 0;
public bool send_onbase_doc { get; set; }
public string handle { get; set; } = "";
public string finaldoc { get; set; } = "";
public serienbrief sb { get; set; } = null;
public bool isSerienbrief { get; set; } = false;
public int protokollid { get; set; } = 0;
public string bemerkung { get; set; } = "";
public List<Versanddokument> Dokument { get; set; }
}
public class Versanddokument
{
public string DokumentID { get; set; }
public string Bezeichnung { get; set; }
public string Partnernr { get; set; }
public string dokument { get; set; } = "";
public int inteintragnr = 0;
public Versanddokument(string dokumentID, string bezeichnung, string partnernr)
{
DokumentID = dokumentID;
Bezeichnung = bezeichnung;
Partnernr = partnernr;
}
}
public class OnBase_Attributes
{
public string Dokumenttyp { get; set; } = "TECH Versandstrasse SendDoc";
public string BPNummer { get; set; } = "";
public string DocumentHandle { get; set; } = "";
public string DistributionOption { get; set; } = "";
public string GASCouvert { get; set; } = "";
public string Returnaddress { get; set; } = "";
public string O2ODochandle { get; set; } = "";
public string Status { get; set; } = "";
}
}

@ -14,36 +14,22 @@
subject="NLog message from system X on ${machinename}" subject="NLog message from system X on ${machinename}"
to="Username@DomainName.com" to="Username@DomainName.com"
from="Username@DomainName.com" /> from="Username@DomainName.com" />
<target type="Database" name="OnDoc" connectionstring=""> <target type="Database" name="Versandstrasse" connectionstring="">
<commandText> <commandText>
sp_insert_nlog @Origin,@Message,@LogLevel, @UserID, @Div sp_insert_nlog_Versandstrasse @Origin,@Message,@LogLevel, @UserID, @paketid,@partnernr,@aktion
</commandText> </commandText>
<parameter name="@Origin" layout="${gdc:Herkunft}"/> <parameter name="@Origin" layout="${gdc:Herkunft}"/>
<parameter name="@LogLevel" layout="${level}"/> <parameter name="@LogLevel" layout="${level}"/>
<parameter name="@message" layout="${message}"/> <parameter name="@message" layout="${message}"/>
<parameter name="@UserID" layout="${environment-user}"/> <parameter name="@UserID" layout="${environment-user}"/>
<parameter name="@Div" layout="${gdc:Zusatz}"/> <parameter name="@Paketid" layout="${gdc:Paketid}"/>
</target>
<target type="Database" name="DocLog" connectionstring="">
<commandText>
sp_insert_nlog_DOC @Origin,@Message,@LogLevel, @UserID, @docid,@partnernr,@aktion
</commandText>
<parameter name="@Origin" layout="${gdc:Herkunft}"/>
<parameter name="@LogLevel" layout="${level}"/>
<parameter name="@message" layout="${message}"/>
<parameter name="@UserID" layout="${environment-user}"/>
<parameter name="@docid" layout="${gdc:Dokumentid}"/>
<parameter name="@partnernr" layout="${gdc:Partnernr}"/> <parameter name="@partnernr" layout="${gdc:Partnernr}"/>
<parameter name="@aktion" layout="${gdc:Aktion}"/> <parameter name="@aktion" layout="${gdc:Aktion}"/>
</target> </target>
</targets> </targets>
<rules> <rules>
<!--<logger name="*" levels="Info,Error,Debug,Warn,Trace,Fail" writeTo="console" /> <logger name="Versandstrasse" levels="Info,Debug,Error,Warning,Trace" writeTo="Versandstrasse" />
<logger name="*" levels="Info,Error" writeTo="console" />
<logger name="*" levels="Info,Debug,Error" writeTo="file" />-->
<logger name="OnDoc" levels="Info,Debug,Error,Warning,Trace" writeTo="OnDoc" />
<logger name="DocLog" levels="Info,Debug,Error,Warning,Trace" writeTo="DocLog" />
<!-- <logger name="*" levels="Error" writeTo="email" /> --> <!-- <logger name="*" levels="Error" writeTo="email" /> -->
</rules> </rules>
</nlog> </nlog>

@ -19,6 +19,15 @@
<setting name="APIKey" serializeAs="String"> <setting name="APIKey" serializeAs="String">
<value>pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=</value> <value>pZkuG6l6ORCEckqQimPK58PO1A9EnkMtL5oCgRX9WiWnD4xeH7ikGzhWnTBy/vk8J4Iiz8gCSx9uFHA4+DvITG0roO97sk82d/0BCjVlwLWINpXlJfGYEF3X96AdoCQvb3ruwv/tVqEHsSU5aNfyxBAe+EhLTHQ8t7ysgJZWh98=</value>
</setting> </setting>
<setting name="LogConnectionstring" serializeAs="String">
<value>Data source=shu01\shu00;initial catalog=edoka_journale;;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
</setting>
<setting name="adminmail" serializeAs="String">
<value>dm@tkb.ch</value>
</setting>
<setting name="prefix_betreff" serializeAs="String">
<value>INT: </value>
</setting>
</OnDoc_Paketversand.Properties.Settings> </OnDoc_Paketversand.Properties.Settings>
</userSettings> </userSettings>
</configuration> </configuration>

@ -0,0 +1,91 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class serienbrief
{
public int serienbriefnr { get; set; } = 0;
public string bezeichnung { get; set; } = "";
public int verantwortlich { get; set; } = 0;
public int postzustellung { get; set; } = 0;
public DateTime dokumentdatum { get; set; } = DateTime.Now;
public int zustaendig { get; set; } = 0;
public int unterschriftlinks { get; set; } = 0;
public int unterschriftrechts { get; set; } = 0;
public string ohne_unterschrift { get; set; } = "False";
public string faksimile_unterschrfit { get; set; } = "False";
public int team { get; set; } = 0;
public DateTime archivdatum { get; set; } = DateTime.Now;
public DateTime termin { get; set; } = DateTime.Now;
public string bemerkung { get; set; } = "";
public DateTime erstellt_am { get; set; } = DateTime.Now;
public DateTime mutiert_am { get; set; } = DateTime.Now;
public int mutierer { get; set; } = 0;
public bool aktiv { get; set; } = true;
public int status { get; set; } = 0;
public int dokumenttypnr { get; set; } = 0;
public int windowwidth { get; set; } = 0;
public int windowheight { get; set; } = 0;
public int treewidth { get; set; } = 0;
public int fehlerhaft { get; set; } = 0;
public int inBearbeitung { get; set; } = 0;
public int erstellt { get; set; } = 0;
public int gedruckt { get; set; } = 0;
public int bestaetigt { get; set; } = 0;
public int ausgeloest { get; set; } = 0;
public int bldossier { get; set; } = 0;
public int vertrag { get; set; } = 0;
public int ppfaktura { get; set; } = 0;
public int officevorlagenr { get; set; } = 0;
public string filename { get; set; }
public DataSet dsempfaenger { get; set; }
public List<clsDocValue> DocValues { get; set; }
public string VorlageBase64 { get; set; } = "";
public string img_unterschriftlinks { get; set; } = "";
public string img_unterschrfitrechts { get; set; } = "";
public string img_faktura { get; set; } = "";
public int barcode_height { get; set; } = 0;
public int barcode_width { get; set; } = 0;
public int barcode_top { get; set; } = 0;
public int barcode_left { get; set; } = 0;
public int barcode_horizontal { get; set; } = 0;
public string barcode_font { get; set; } = "";
public string barcode_fontsize { get; set; } = "";
public string barcode_textposition { get; set; } = "";
public string barcode_zusatz { get; set; }
public string barcode_type { get; set; } = "";
public string barcode_content { get; set; } = "";
public string barcode_text { get; set; } = "";
public int toapproval { get; set; } = 0;
public int approved { get; set; } = 0;
public int approval1 { get; set; } = 0;
public int approval2 { get; set; } = 0;
public int faksimile { get; set; } = 0;
public int ohneunterschrift { get; set; } = 0;
}
public class clsDocValue
{
public string TMBeginn { get; set; }
public string TMEnd { get; set; }
public string FieldName { get; set; }
public string Value { get; set; }
public int used { get; set; } = 1;
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save