update 20251008

master
Stefan Hutter 2 months ago
parent 2773ca3baa
commit 6b7de9389c

Binary file not shown.

Binary file not shown.

@ -46,9 +46,10 @@
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(2, 99);
this.label1.Location = new System.Drawing.Point(3, 122);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(113, 13);
this.label1.Size = new System.Drawing.Size(138, 16);
this.label1.TabIndex = 0;
this.label1.Text = "Gewählte Dokumente:";
this.label1.Click += new System.EventHandler(this.label1_Click);
@ -56,18 +57,20 @@
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(5, 13);
this.label2.Location = new System.Drawing.Point(7, 16);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(68, 13);
this.label2.Size = new System.Drawing.Size(82, 16);
this.label2.TabIndex = 1;
this.label2.Text = "Vom Kunde: ";
//
// sfButton1
//
this.sfButton1.Font = new System.Drawing.Font("Segoe UI Semibold", 9F);
this.sfButton1.Location = new System.Drawing.Point(5, 54);
this.sfButton1.Location = new System.Drawing.Point(7, 66);
this.sfButton1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.sfButton1.Name = "sfButton1";
this.sfButton1.Size = new System.Drawing.Size(47, 28);
this.sfButton1.Size = new System.Drawing.Size(63, 34);
this.sfButton1.Style.Image = global::OnDoc.Properties.Resources.Search_24x24_32;
this.sfButton1.TabIndex = 3;
this.sfButton1.Tag = "Partner suchen";
@ -76,36 +79,40 @@
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(4, 34);
this.label3.Location = new System.Drawing.Point(5, 42);
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(71, 13);
this.label3.Size = new System.Drawing.Size(84, 16);
this.label3.TabIndex = 4;
this.label3.Text = "Zum Kunden:";
this.label3.Click += new System.EventHandler(this.label3_Click);
//
// richTextBox1
//
this.richTextBox1.Location = new System.Drawing.Point(2, 115);
this.richTextBox1.Location = new System.Drawing.Point(3, 142);
this.richTextBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.ReadOnly = true;
this.richTextBox1.Size = new System.Drawing.Size(461, 116);
this.richTextBox1.Size = new System.Drawing.Size(613, 142);
this.richTextBox1.TabIndex = 5;
this.richTextBox1.Text = "";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(81, 37);
this.label4.Location = new System.Drawing.Point(108, 46);
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(0, 13);
this.label4.Size = new System.Drawing.Size(0, 16);
this.label4.TabIndex = 6;
//
// button1
//
this.button1.Enabled = false;
this.button1.Location = new System.Drawing.Point(216, 243);
this.button1.Location = new System.Drawing.Point(288, 299);
this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.Size = new System.Drawing.Size(100, 28);
this.button1.TabIndex = 7;
this.button1.Text = "Umteilen";
this.button1.UseVisualStyleBackColor = true;
@ -116,17 +123,19 @@
this.panel1.Controls.Add(this.button2);
this.panel1.Controls.Add(this.label6);
this.panel1.Controls.Add(this.label5);
this.panel1.Location = new System.Drawing.Point(2, 237);
this.panel1.Location = new System.Drawing.Point(3, 292);
this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(464, 89);
this.panel1.Size = new System.Drawing.Size(619, 110);
this.panel1.TabIndex = 8;
this.panel1.Visible = false;
//
// button2
//
this.button2.Location = new System.Drawing.Point(182, 54);
this.button2.Location = new System.Drawing.Point(243, 66);
this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(114, 23);
this.button2.Size = new System.Drawing.Size(152, 28);
this.button2.TabIndex = 2;
this.button2.Text = "Fenster schliessen";
this.button2.UseVisualStyleBackColor = true;
@ -136,26 +145,28 @@
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label6.Location = new System.Drawing.Point(2, 27);
this.label6.Location = new System.Drawing.Point(3, 33);
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(400, 13);
this.label6.Size = new System.Drawing.Size(509, 17);
this.label6.TabIndex = 1;
this.label6.Text = "Kundenspezifische Daten wurden in den Dokumenten nicht geändert.";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(3, 6);
this.label5.Location = new System.Drawing.Point(4, 7);
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(227, 13);
this.label5.Size = new System.Drawing.Size(272, 16);
this.label5.TabIndex = 0;
this.label5.Text = "Die Dokumenmte wurden erfolgreich umgeteilt.";
this.label5.Text = "Die Dokumente wurden erfolgreich umgeteilt.";
//
// PartnerUmteilung
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(469, 331);
this.ClientSize = new System.Drawing.Size(625, 406);
this.Controls.Add(this.panel1);
this.Controls.Add(this.button1);
this.Controls.Add(this.label4);
@ -165,6 +176,7 @@
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "PartnerUmteilung";
this.Style.MdiChild.IconHorizontalAlignment = System.Windows.Forms.HorizontalAlignment.Center;
this.Style.MdiChild.IconVerticalAlignment = System.Windows.Forms.VisualStyles.VerticalAlignment.Center;

@ -1,9 +1,11 @@
using System;
using OnDoc.Klassen;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@ -16,8 +18,9 @@ namespace OnDoc.Diverses
public SplashScreen()
{
InitializeComponent();
label1.Text = "Version" + AppParams.assemblyversion;
Application.DoEvents();
}
private void SplashScreen_Shown(object sender, EventArgs e)

@ -32,8 +32,8 @@ namespace OnDoc.DocMgmt
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DokTypSelect));
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo3 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
this.ribbon1 = new System.Windows.Forms.Ribbon();
this.ribbonTab1 = new System.Windows.Forms.RibbonTab();
this.ribbonPanel1 = new System.Windows.Forms.RibbonPanel();
@ -117,7 +117,7 @@ namespace OnDoc.DocMgmt
this.ribbon1.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2013;
this.ribbon1.OrbVisible = false;
this.ribbon1.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F);
this.ribbon1.Size = new System.Drawing.Size(499, 74);
this.ribbon1.Size = new System.Drawing.Size(498, 74);
this.ribbon1.TabIndex = 0;
this.ribbon1.Tabs.Add(this.ribbonTab1);
this.ribbon1.TabSpacing = 4;
@ -269,7 +269,7 @@ namespace OnDoc.DocMgmt
this.sfListView1.HotTracking = true;
this.sfListView1.Location = new System.Drawing.Point(2, 76);
this.sfListView1.Name = "sfListView1";
this.sfListView1.Size = new System.Drawing.Size(499, 584);
this.sfListView1.Size = new System.Drawing.Size(498, 583);
this.sfListView1.TabIndex = 1;
this.sfListView1.Text = "sfListView1";
this.sfListView1.VerticalScrollIncrement = 20;
@ -278,15 +278,15 @@ namespace OnDoc.DocMgmt
// treeViewAdv1
//
this.treeViewAdv1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
treeNodeAdvStyleInfo3.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo3.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo3.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo3.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)))));
treeNodeAdvStyleInfo3.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo3.TextColor = System.Drawing.Color.Black;
treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo1.IntermediateCheckColor = 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)))));
treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black;
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.ContextMenuStrip = this.contextMenuStripVorlagen;
this.treeViewAdv1.Dock = System.Windows.Forms.DockStyle.Fill;
//
@ -303,7 +303,7 @@ namespace OnDoc.DocMgmt
this.treeViewAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
this.treeViewAdv1.Name = "treeViewAdv1";
this.treeViewAdv1.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
this.treeViewAdv1.Size = new System.Drawing.Size(494, 517);
this.treeViewAdv1.Size = new System.Drawing.Size(494, 516);
this.treeViewAdv1.TabIndex = 2;
this.treeViewAdv1.Text = "treeViewAdv1";
this.treeViewAdv1.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0;
@ -372,15 +372,15 @@ namespace OnDoc.DocMgmt
//
this.treeViewAdv2.AllowDrop = true;
this.treeViewAdv2.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo1.IntermediateCheckColor = 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)))));
treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black;
treeNodeAdvStyleInfo2.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo2.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo2.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)))));
treeNodeAdvStyleInfo2.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo2.TextColor = System.Drawing.Color.Black;
this.treeViewAdv2.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)});
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo2)});
this.treeViewAdv2.ContextMenuStrip = this.contextMenuStripFavoriten;
this.treeViewAdv2.Dock = System.Windows.Forms.DockStyle.Fill;
//
@ -398,7 +398,7 @@ namespace OnDoc.DocMgmt
this.treeViewAdv2.Name = "treeViewAdv2";
this.treeViewAdv2.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
this.treeViewAdv2.ShouldSelectNodeOnEnter = false;
this.treeViewAdv2.Size = new System.Drawing.Size(498, 523);
this.treeViewAdv2.Size = new System.Drawing.Size(498, 522);
this.treeViewAdv2.TabIndex = 3;
this.treeViewAdv2.Text = "treeViewAdv2";
this.treeViewAdv2.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0;
@ -479,7 +479,7 @@ namespace OnDoc.DocMgmt
this.grpFavoriten.Margin = new System.Windows.Forms.Padding(0);
this.grpFavoriten.Name = "grpFavoriten";
this.grpFavoriten.Padding = new System.Windows.Forms.Padding(0);
this.grpFavoriten.Size = new System.Drawing.Size(498, 584);
this.grpFavoriten.Size = new System.Drawing.Size(498, 583);
this.grpFavoriten.TabIndex = 4;
this.grpFavoriten.TabStop = false;
//
@ -613,7 +613,7 @@ namespace OnDoc.DocMgmt
this.grpVorlagen.Dock = System.Windows.Forms.DockStyle.Left;
this.grpVorlagen.Location = new System.Drawing.Point(2, 76);
this.grpVorlagen.Name = "grpVorlagen";
this.grpVorlagen.Size = new System.Drawing.Size(500, 584);
this.grpVorlagen.Size = new System.Drawing.Size(500, 583);
this.grpVorlagen.TabIndex = 5;
this.grpVorlagen.TabStop = false;
//
@ -686,7 +686,7 @@ namespace OnDoc.DocMgmt
// toolstripCombobox_Fachverantwortung
//
this.toolstripCombobox_Fachverantwortung.Name = "toolstripCombobox_Fachverantwortung";
this.toolstripCombobox_Fachverantwortung.Size = new System.Drawing.Size(130, 48);
this.toolstripCombobox_Fachverantwortung.Size = new System.Drawing.Size(98, 48);
this.toolstripCombobox_Fachverantwortung.SelectedIndexChanged += new System.EventHandler(this.toolstripCombobox_Fachverantwortung_SelectedIndexChanged);
//
// toolStripButton4
@ -703,7 +703,7 @@ namespace OnDoc.DocMgmt
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(503, 662);
this.ClientSize = new System.Drawing.Size(502, 661);
this.Controls.Add(this.grpFavoriten);
this.Controls.Add(this.grpVorlagen);
this.Controls.Add(this.sfListView1);

@ -282,8 +282,8 @@
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABq
DgAAAk1TRnQBSQFMAgEBCAEAAYgBAQGIAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABm
DgAAAk1TRnQBSQFMAgEBCAEAAZgBAQGYAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAATADAAEBAQABCAYAAQwYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@ -316,35 +316,35 @@
CP8BmAFQA3IBUAEZBP8CFw0AARcCAAEJBgAB1gIJAfEB9AHzAQAD/wHzAZgEugHcAbsBswG6AfMG/wHo
AeIB8QP/AQgB2gHoA/8CFwEAAhcKAAEXAgABCQoAAfQB8wEAAv8B8wGRAbMBugG5AdsBugHbAQAB2gGz
AboB8wT/AugG/wHhAbkBAAL/AhcBAAMXBgACFwEAARcCAAEJAQAI1gHxAfQB8wEAAv8BugGzAboB2gEJ
AQAB4QG6Af8B2wKzAbsB9AL/AfQB6AH1B/8B3wG5Av8CFwMAAhcEAAEXAQABFgEAARcCAAEJCgAB9AHz
AQAB/wHyAbkBswO6ARkBugHhAf8BuQG6AbMBtAHzA/8BGQH/AfQCGQH1AQgB8gEZAf8BGQL/AhcEAAEX
ARYGFwEAARcCAAEJAQAICQHyAfQB8wEAAf8BGQG5AbMBugHaAbkBGQEAAf8B4gHbARkBugGzAfEC/wFr
AfQBugHxAZEBGQGKAbsBkQG7AYsBGQH1Af8CFwUAARcBAAEXBQABFwIAAQkKAAH0AfMBAAH/AbsB2wLa
AboB2gEJA/8BCAEZAdUBswHwAv8BsgH/ApACkQEJAbsBtAG6AbsBugL/AhcFAAIXBgABFwIAAQkBAAgJ
AfMB9AHzAQAB/wEZAbsB2wG7AdsB6AP/AdsCugKzAfEC/wGRAYsB8QL/AbQBuwf/AhcGAAEXBgABFwIA
AQkKAAH0AfMBAAH/AfIBugEJAQgBGQHzAv8BuwG6A7MBtAHzEP8CFwUAAhcGAAEXAgABCQEACAkB8wH0
AfMBAAL/AQkBGQH0ARkC/wH0AQkB2wG6ArMBuwH0A/8BlwHCB/8BmAHCAv8CFwUAAhcGAAEXAgABCQcA
AbwCGQEJAfMBAAL/AfIBugEJAQgB/wIZAeIBGQHaAbMBkQH0BP8BwQGXAQgF/wKYA/8CFwUAAhcGAAEX
AgABCQEABhkECQIAA/8BGQG6ARkB/wEAAQgBGQEJAbQBuwHzBv8BwAEIAWsBugG7AZEBawGYBP8CFwYA
ARcGAAEXAgABCQcAAgkB3AMABP8B9AEIAfQBGQEIAgkBGQH0CP8B4gEGAmsBigG6Bf8QFwIAAQkHAAEJ
AdwEAAf/AfQB8wH0Fv8QFwIAAfEICQUAIP8SAAH/CvIB/wIAELIQcAH/AcMMmgHDAf8CAAHyAQcI8gEH
AfICABCyEHAB9A16AVkB9AIAAvIIAALyAgACsg0AAbICcA0AAXAB9A16AVkBwwIAAvIIAALyAgACsg0A
AbICcA0AAXAB9A16AVkBwwIAAvIBAAbvAQAC8gIAArIDAAKyAgABtAKyAwABsgJwAgADcAMAAnADAAFw
AfQNegFZAcMCAALyAQAG7wEAAvICAAKyAgAB8gKyAQkBAAOyAwABsgJwAwADcAEAA3ADAAFwAfQNegFZ
AcMCAALyAQAG7wEAAvICAAKyAgAEsgEAA7IB3QIAAbICcAQABXAEAAFwAfQNegFZAcMCAALyAQAG7wEA
AvICAAKyAgACsgG0AbIBGQGyAQACsgIAAbICcAUAA3AFAAFwAfQNegFZAcMCAALyAgAB8AEAAfIC7wEA
AvICAAKyAgABsgEZAQADsgEAArICAAGyAnAFAANwBQABcAH0DXoBWQHDAgAC8gIAAe8BAAHyAu8BAALy
AgACsgEAArICAAOyAgABsgHzAQABsgJwBAAFcAQAAXAB9A1ZATgB9AIAAvICAAHvAQAB8gLvAQAC8gIA
ArIBAAKyAgABCQGyAwACsgEAAbICcAMAA3ABAANwAwABcAHDDjgB9gIAAvIBAAPtAfIC7wEAAvICAAKy
DQABsgJwAwACcAMAAnADAAFwAcMGOAFZBvQB9gMAAvIIAAHxAfMCAAKyDQABsgJwDQABcAH0BjgBvQoA
AvIHAAH0Ae8B/wIAArINAAGyAnANAAFwAf8BwwSaAb0B/woAAfIBBwbyAfEB7wH/AwAQshBwEgAB/wfy
AfMB/wQAELIQcAFCAU0BPgcAAT4DAAEoAwABQAMAATADAAEBAQABAQUAAYABARYAA/+DAAHAAQEGAAHf
AfkEAAE/Af4B3wGBBAABJwH+Ad8B+QQAASMB8gHQAQEEAAE5AeoB3wH5BAABPAECAdABAQQAAT4BvgHf
AfkEAAE+AX4B0AEBBAABPwF+Ad8B+QQAAT4BfgHQAQEEAAE+AX4B3wHBBAABPgF+AdABAwQAAT8BfgHf
AccGAAHfAc8GAAHAAR8EAAL/AcABAwYAAcABAwYAAc8B8wE/Af4BPwH+AgABzwHzAT8B/gE/Af4CAAHI
ARMBOQGOATEBzgIAAcgBEwEwAY4BOAGOAgAByAETATABhgE8AR4CAAHIARMBMAEmAj4CAAHNARMBMgEm
Aj4CAAHNARMBJgEyATwBHgIAAc0BEwEmAXIBOAGOAgAByAETAT8B/gE5Ac4BAAEBAc8B8wE/Af4BPwH+
AQAB/wHPAeMBPwH+AT8B/gEAAf8BwAEHBAAC/wHAAQ8EAAs=
AQAB4QG6Af8B2wKzAbsB9AL/AfQB6Aj/Ad8BuQL/AhcDAAIXBAABFwEAARYBAAEXAgABCQoAAfQB8wEA
Af8B8gG5AbMDugEZAboB4QH/AbkBugGzAbQB8wP/ARkB/wH0AhkB/wEIAfIBGQH/ARkC/wIXBAABFwEW
BhcBAAEXAgABCQEACAkB8gH0AfMBAAH/ARkBuQGzAboB2gG5ARkBAAH/AeIB2wEZAboBswHxAv8BawH0
AboB8QGRARkBigG7AZEBuwGLARkC/wIXBQABFwEAARcFAAEXAgABCQoAAfQB8wEAAf8BuwHbAtoBugHa
AQkD/wEIARkB1QGzAfAC/wGyAf8CkAKRAQkBuwG0AboBuwG6Av8CFwUAAhcGAAEXAgABCQEACAkB8wH0
AfMBAAH/ARkBuwHbAbsB2wHoA/8B2wK6ArMB8QL/AZEBiwHxAv8BtAG7B/8CFwYAARcGAAEXAgABCQoA
AfQB8wEAAf8B8gG6AQkBCAEZAfMC/wG7AboDswG0AfMQ/wIXBQACFwYAARcCAAEJAQAICQHzAfQB8wEA
Av8BCQEZAfQBGQL/AfQBCQHbAboCswG7AfQD/wGXAcIH/wGYAcIC/wIXBQACFwYAARcCAAEJBwABvAIZ
AQkB8wEAAv8B8gG6AQkBCAH/AhkB4gEZAdoBswGRAfQE/wHBAZcBCAX/ApgD/wIXBQACFwYAARcCAAEJ
AQAGGQQJAgAD/wEZAboBGQH/AQABCAEZAQkBtAG7AfMG/wHAAQgBawG6AbsBkQFrAZgE/wIXBgABFwYA
ARcCAAEJBwACCQHcAwAE/wH0AQgB9AEZAQgCCQEZAfQI/wHiAQYCawGKAboF/xAXAgABCQcAAQkB3AQA
B/8B9AHzAfQW/xAXAgAB8QgJBQAg/xIAAf8K8gH/AgAQshBwAf8BwwyaAcMB/wIAAfIBBwjyAQcB8gIA
ELIQcAH0DXoBWQH0AgAC8ggAAvICAAKyDQABsgJwDQABcAH0DXoBWQHDAgAC8ggAAvICAAKyDQABsgJw
DQABcAH0DXoBWQHDAgAC8gEABu8BAALyAgACsgMAArICAAG0ArIDAAGyAnACAANwAwACcAMAAXAB9A16
AVkBwwIAAvIBAAbvAQAC8gIAArICAAHyArIBCQEAA7IDAAGyAnADAANwAQADcAMAAXAB9A16AVkBwwIA
AvIBAAbvAQAC8gIAArICAASyAQADsgHdAgABsgJwBAAFcAQAAXAB9A16AVkBwwIAAvIBAAbvAQAC8gIA
ArICAAKyAbQBsgEZAbIBAAKyAgABsgJwBQADcAUAAXAB9A16AVkBwwIAAvICAAHwAQAB8gLvAQAC8gIA
ArICAAGyARkBAAOyAQACsgIAAbICcAUAA3AFAAFwAfQNegFZAcMCAALyAgAB7wEAAfIC7wEAAvICAAKy
AQACsgIAA7ICAAGyAfMBAAGyAnAEAAVwBAABcAH0DVkBOAH0AgAC8gIAAe8BAAHyAu8BAALyAgACsgEA
ArICAAEJAbIDAAKyAQABsgJwAwADcAEAA3ADAAFwAcMOOAH2AgAC8gEAA+0B8gLvAQAC8gIAArINAAGy
AnADAAJwAwACcAMAAXABwwY4AVkG9AH2AwAC8ggAAfEB8wIAArINAAGyAnANAAFwAfQGOAG9CgAC8gcA
AfQB7wH/AgACsg0AAbICcA0AAXAB/wHDBJoBvQH/CgAB8gEHBvIB8QHvAf8DABCyEHASAAH/B/IB8wH/
BAAQshBwAUIBTQE+BwABPgMAASgDAAFAAwABMAMAAQEBAAEBBQABgAEBFgAD/4MAAcABAQYAAd8B+QQA
AT8B/gHfAYEEAAEnAf4B3wH5BAABIwHyAdABAQQAATkB6gHfAfkEAAE8AQIB0AEBBAABPgG+Ad8B+QQA
AT4BfgHQAQEEAAE/AX4B3wH5BAABPgF+AdABAQQAAT4BfgHfAcEEAAE+AX4B0AEDBAABPwF+Ad8BxwYA
Ad8BzwYAAcABHwQAAv8BwAEDBgABwAEDBgABzwHzAT8B/gE/Af4CAAHPAfMBPwH+AT8B/gIAAcgBEwE5
AY4BMQHOAgAByAETATABjgE4AY4CAAHIARMBMAGGATwBHgIAAcgBEwEwASYCPgIAAc0BEwEyASYCPgIA
Ac0BEwEmATIBPAEeAgABzQETASYBcgE4AY4CAAHIARMBPwH+ATkBzgEAAQEBzwHzAT8B/gE/Af4BAAH/
Ac8B4wE/Af4BPwH+AQAB/wHAAQcEAAL/AcABDwQACw==
</value>
</data>
<metadata name="contextMenuStripFavoriten.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
@ -353,12 +353,6 @@
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>618, 16</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>618, 16</value>
</metadata>
<metadata name="toolStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>723, 16</value>
</metadata>
<metadata name="toolStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>723, 16</value>
</metadata>

@ -7,6 +7,7 @@ using System.Data;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security.Policy;
@ -74,6 +75,12 @@ namespace OnDoc.Klassen
public static bool O365 { get; set; } = false;
public static int MaxFileSize { get; set; } = 9000000;
public static string assemblyversion { get; set; } = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
public static Boolean check_for_updates { get; set; } = false;
public static string updatepath { get; set; } = "";
public static bool DoUpdate { get; set; } = false;
static AppParams()
{
@ -129,6 +136,8 @@ namespace OnDoc.Klassen
AutomArchivierung = db.dsdaten.Tables[0].Rows[0][22].ToString() == "TRUE";
SignApp = db.dsdaten.Tables[0].Rows[0][23].ToString();
MaxFileSize = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][24]);
check_for_updates= db.dsdaten.Tables[0].Rows[0][25].ToString() == "TRUE";
updatepath = db.dsdaten.Tables[0].Rows[0][26].ToString();
}
else
{

@ -14,6 +14,8 @@ using Syncfusion.Windows.Forms.Spreadsheet.Commands;
using OnDoc.UICintrols;
using OnDoc.UIControls;
using System.Linq.Expressions;
using System.Diagnostics;
using Windows.Globalization;
@ -124,6 +126,31 @@ namespace OnDoc
// // MyForm = new Start();
// Application.Run(MyForm);
//Versionsupdate
if (AppParams.check_for_updates)
{
string filename = AppParams.updatepath + @"\version.txt";
string version = "";
if (System.IO.File.Exists(filename))
{
version = System.IO.File.ReadAllText(filename);
if (version != AppParams.assemblyversion)
{
//MessageBox.Show("Start Updater");
//MessageBox.Show(Application.StartupPath + @"\OnDocUpdate\OnDocUpdate.exe");
//MessageBox.Show(Application.StartupPath + @"\OnDocUpdate\");
//MessageBox.Show(Application.StartupPath);
//MessageBox.Show(Application.StartupPath + @"\ondoc.exe");
ProcessStartInfo startInfo = new ProcessStartInfo(Application.StartupPath + @"\OnDocUpdate\OnDocUpdate.exe");
startInfo.WindowStyle = ProcessWindowStyle.Normal;
startInfo.WorkingDirectory = Application.StartupPath + @"\OnDocUpdate\";
startInfo.Arguments = version + " " + AppParams.updatepath + " " + Application.StartupPath + " " + Application.StartupPath + @"\ondoc.exe";
Process.Start(startInfo);
return;
}
}
}
AppParams.StartApp = true;
Application.Run(new Start());
AppParams.StartApp = false;

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.8.0.0")]
[assembly: AssemblyFileVersion("1.8.0.0")]

@ -41,7 +41,6 @@ namespace OnDoc
Logging.DocLog.IntUserID = db.dsdaten.Tables[0].Rows[0]["LogUserID"].ToString();
Logging.DocLog.connectionstring = AppParams.logconnectionstring;
Logging.DocLog.init_logger();
db = null;
}
private void Delete_Old_Files()
@ -80,6 +79,7 @@ namespace OnDoc
this.Style.Border.Width = 0;
InitLogging();
Logging.Logging.Debug("Start", "OnDoc-Client", "");
Delete_Old_Files();
mitarbeiter = System.Security.Principal.WindowsIdentity.GetCurrent().Name;

@ -60,6 +60,7 @@ namespace OnDoc.UICintrols
this.gruppenÖffnenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.gruppenSchliessenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.zumVersandpaketHinzufügenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.unterschriftTestsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.tsrbvorschau = new System.Windows.Forms.ToolStripComboBox();
@ -68,7 +69,6 @@ namespace OnDoc.UICintrols
this.tsbtnpreviewright = new System.Windows.Forms.ToolStripButton();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.sfDataGrid1 = new Syncfusion.WinForms.DataGrid.SfDataGrid();
this.docPreview1 = new OnDoc.UIControls.DocPreview();
this.panel2 = new System.Windows.Forms.Panel();
this.lblTitel = new System.Windows.Forms.Label();
this.ribbonPanel2 = new System.Windows.Forms.RibbonPanel();
@ -187,6 +187,7 @@ namespace OnDoc.UICintrols
this.gruppenSchliessenToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.RibbonButtonCreateNewDoc = new System.Windows.Forms.RibbonButton();
this.ribbonButton5 = new System.Windows.Forms.RibbonButton();
this.docPreview1 = new OnDoc.UIControls.DocPreview();
this.dokwerte1 = new OnDoc.UIControls.Dokwerte();
this.ctxMenuDokList.SuspendLayout();
this.toolStrip1.SuspendLayout();
@ -229,9 +230,10 @@ namespace OnDoc.UICintrols
this.toolStripMenuItem3,
this.gruppenÖffnenToolStripMenuItem,
this.gruppenSchliessenToolStripMenuItem,
this.zumVersandpaketHinzufügenToolStripMenuItem});
this.zumVersandpaketHinzufügenToolStripMenuItem,
this.unterschriftTestsToolStripMenuItem});
this.ctxMenuDokList.Name = "ctxMenuDokList";
this.ctxMenuDokList.Size = new System.Drawing.Size(342, 654);
this.ctxMenuDokList.Size = new System.Drawing.Size(342, 680);
this.ctxMenuDokList.Opening += new System.ComponentModel.CancelEventHandler(this.ctxMenuDokList_Opening);
//
// dokumentAnzeigenToolStripMenuItem
@ -269,7 +271,7 @@ namespace OnDoc.UICintrols
//
this.dokumentMetaDatenBearbeitenToolStripMenuItem.Name = "dokumentMetaDatenBearbeitenToolStripMenuItem";
this.dokumentMetaDatenBearbeitenToolStripMenuItem.Size = new System.Drawing.Size(341, 26);
this.dokumentMetaDatenBearbeitenToolStripMenuItem.Text = "Dokument-Meta-Daten bearbeiten";
this.dokumentMetaDatenBearbeitenToolStripMenuItem.Text = "Dokument-Attribute bearbeiten";
this.dokumentMetaDatenBearbeitenToolStripMenuItem.Click += new System.EventHandler(this.dokumentMetaDatenBearbeitenToolStripMenuItem_Click);
//
// toolStripMenuItem2
@ -433,6 +435,14 @@ namespace OnDoc.UICintrols
this.zumVersandpaketHinzufügenToolStripMenuItem.Visible = false;
this.zumVersandpaketHinzufügenToolStripMenuItem.Click += new System.EventHandler(this.zumVersandpaketHinzufügenToolStripMenuItem_Click);
//
// unterschriftTestsToolStripMenuItem
//
this.unterschriftTestsToolStripMenuItem.Name = "unterschriftTestsToolStripMenuItem";
this.unterschriftTestsToolStripMenuItem.Size = new System.Drawing.Size(341, 26);
this.unterschriftTestsToolStripMenuItem.Text = "Unterschrift_Tests";
this.unterschriftTestsToolStripMenuItem.Visible = false;
this.unterschriftTestsToolStripMenuItem.Click += new System.EventHandler(this.unterschriftTestsToolStripMenuItem_Click);
//
// toolStrip1
//
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
@ -464,7 +474,6 @@ namespace OnDoc.UICintrols
"Vorschau rechts",
"Vorschau unten",
"Vorschau oben"});
this.tsrbvorschau.Font = new System.Drawing.Font("Segoe UI", 9F);
this.tsrbvorschau.Items.AddRange(new object[] {
"Keine Vorschau",
"Vorschau unten",
@ -517,7 +526,7 @@ namespace OnDoc.UICintrols
//
this.splitContainer1.Panel2.Controls.Add(this.docPreview1);
this.splitContainer1.Size = new System.Drawing.Size(1709, 694);
this.splitContainer1.SplitterDistance = 342;
this.splitContainer1.SplitterDistance = 341;
this.splitContainer1.TabIndex = 2;
//
// sfDataGrid1
@ -537,7 +546,7 @@ namespace OnDoc.UICintrols
this.sfDataGrid1.SelectionMode = Syncfusion.WinForms.DataGrid.Enums.GridSelectionMode.Extended;
this.sfDataGrid1.ShowGroupDropArea = true;
this.sfDataGrid1.ShowToolTip = true;
this.sfDataGrid1.Size = new System.Drawing.Size(1709, 342);
this.sfDataGrid1.Size = new System.Drawing.Size(1709, 341);
this.sfDataGrid1.TabIndex = 0;
this.sfDataGrid1.ValidationMode = Syncfusion.WinForms.DataGrid.Enums.GridValidationMode.InView;
this.sfDataGrid1.ToolTipOpening += new Syncfusion.WinForms.DataGrid.Events.ToolTipOpeningEventHandler(this.sfDataGrid1_ToolTipOpening_1);
@ -550,17 +559,6 @@ namespace OnDoc.UICintrols
this.sfDataGrid1.ColumnResizing += new Syncfusion.WinForms.DataGrid.Events.ColumnResizingEventHandler(this.sfDataGrid1_ColumnResizing);
this.sfDataGrid1.CopyContent += new Syncfusion.WinForms.DataGrid.Events.CutCopyPasteEventHandler(this.sfDataGrid1_CopyContent);
//
// docPreview1
//
this.docPreview1.BackColor = System.Drawing.SystemColors.Control;
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
this.docPreview1.Location = new System.Drawing.Point(0, 0);
this.docPreview1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.docPreview1.Name = "docPreview1";
this.docPreview1.Size = new System.Drawing.Size(1709, 348);
this.docPreview1.TabIndex = 0;
this.docPreview1.ZoomPercentage = 0;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
@ -1610,11 +1608,22 @@ namespace OnDoc.UICintrols
this.ribbonButton5.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton5.SmallImage")));
this.ribbonButton5.Text = "Load";
//
// docPreview1
//
this.docPreview1.BackColor = System.Drawing.SystemColors.Control;
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
this.docPreview1.Location = new System.Drawing.Point(0, 0);
this.docPreview1.Margin = new System.Windows.Forms.Padding(4);
this.docPreview1.Name = "docPreview1";
this.docPreview1.Size = new System.Drawing.Size(1709, 349);
this.docPreview1.TabIndex = 0;
this.docPreview1.ZoomPercentage = 0;
//
// dokwerte1
//
this.dokwerte1.Dock = System.Windows.Forms.DockStyle.Right;
this.dokwerte1.Location = new System.Drawing.Point(1709, 153);
this.dokwerte1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.dokwerte1.Margin = new System.Windows.Forms.Padding(4);
this.dokwerte1.Name = "dokwerte1";
this.dokwerte1.Size = new System.Drawing.Size(0, 694);
this.dokwerte1.TabIndex = 7;
@ -1803,5 +1812,6 @@ namespace OnDoc.UICintrols
private System.Windows.Forms.RibbonButton rbbtnvsreserveddoks;
private System.Windows.Forms.ToolStripMenuItem dokumenteZuAndermKundeUmteilenToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem dokumentMetaDatenBearbeitenToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem unterschriftTestsToolStripMenuItem;
}
}

@ -59,6 +59,7 @@ using Syncfusion.Grouping;
using Syncfusion.Olap.MDXQueryParser;
using Windows.UI.Xaml.Input;
using NLog;
using OnDocOffice;
@ -949,6 +950,7 @@ namespace OnDoc.UICintrols
private void vertragPDFDEMOToolStripMenuItem_Click(object sender, EventArgs e)
{
clsdok dok = new clsdok("", "", "", "");
dok = GetDoc(false);
DocGenerator_from_EDOKA docgen = new DocGenerator_from_EDOKA(AppParams.connectionstring);
@ -3389,7 +3391,40 @@ namespace OnDoc.UICintrols
refresh_dokumente();
}
}
}
private void unterschriftTestsToolStripMenuItem_Click(object sender, EventArgs e)
{
Cursor= Cursors.WaitCursor;
if (!row_selected()) return;
var records = sfDataGrid1.View.GetSelectedRecords();
foreach (var record in records)
{
var datarow = record as DataRowView;
string documentid = datarow["dokumentid"].ToString();
this.selected_dokumentid = documentid;
clsdok dok = new clsdok("", "", "","");
dok = GetDoc(false);
FileHelper fh = new FileHelper();
string Filename = AppParams.tempdir + documentid + "." + dok.extension;
fh.SaveBase64ToFile(dok.dokument, Filename);
OnDocOffice.clsWordEdit we = new OnDocOffice.clsWordEdit(AppParams.connectionstring, Filename, documentid, AppParams.RESTURI, AppParams.apikey);
we.test_remove_signature();
System.Windows.Forms.Application.DoEvents();
System.Windows.Forms.Application.DoEvents();
DOCGEN.DocGen dg = new DocGen(AppParams.connectionstring, AppParams.RESTURI, AppParams.apikey);
dg.signdoc(documentid, AppParams.tempdir);
dg = null;
OpenDoc(dok, false, false, false);
}
Cursor = Cursors.Default;
refresh_dokumente();
}
}
}

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.

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -219,6 +219,8 @@ namespace DOCGEN
return true;
}
//public void createpdf(string filename)

Binary file not shown.

Binary file not shown.

@ -0,0 +1,16 @@
Date:2025-10-06 07:57:51,171
Thread:[1]
Level:ERROR
Logger:InsertBlazorCode.SyncfusionCodeGeneratorMenuCommand [(null)]
Message:System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei InsertBlazorCode.SyncfusionCodeGeneratorMenuCommand.queryStatusMenuCommand_BeforeQueryStatus(Object sender, EventArgs e) in C:\Git\RP\vsext_insertblazorcode\SyncfusionBlazorcodegenerator\SyncfusionCodeGeneratorMenuCommand.cs:Zeile 322.
Date:2025-10-06 07:57:52,246
Thread:[1]
Level:ERROR
Logger:InsertBlazorCode.SyncfusionCodeGeneratorMenuCommand [(null)]
Message:System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei InsertBlazorCode.SyncfusionCodeGeneratorMenuCommand.queryStatusMenuCommand_BeforeQueryStatus(Object sender, EventArgs e) in C:\Git\RP\vsext_insertblazorcode\SyncfusionBlazorcodegenerator\SyncfusionCodeGeneratorMenuCommand.cs:Zeile 322.

@ -89,6 +89,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZZ_Scripting", "ZZ_Scriptin
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OnDocScript", "OnDocScript\OnDocScript.csproj", "{58940438-C0C5-4C6F-A8EF-EC716C4F9CAB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OnDoc_JSONViewer", "OnDoc_JSONViewer\OnDoc_JSONViewer.csproj", "{B0ED9A08-613F-48FA-9890-1B84197FD8BA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OnDocUpdate", "OnDocUpdate\OnDocUpdate.csproj", "{388A9AAF-E3CA-4C1E-BFF5-2B98753DA8BC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -255,6 +259,14 @@ Global
{58940438-C0C5-4C6F-A8EF-EC716C4F9CAB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{58940438-C0C5-4C6F-A8EF-EC716C4F9CAB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{58940438-C0C5-4C6F-A8EF-EC716C4F9CAB}.Release|Any CPU.Build.0 = Release|Any CPU
{B0ED9A08-613F-48FA-9890-1B84197FD8BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0ED9A08-613F-48FA-9890-1B84197FD8BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B0ED9A08-613F-48FA-9890-1B84197FD8BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B0ED9A08-613F-48FA-9890-1B84197FD8BA}.Release|Any CPU.Build.0 = Release|Any CPU
{388A9AAF-E3CA-4C1E-BFF5-2B98753DA8BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{388A9AAF-E3CA-4C1E-BFF5-2B98753DA8BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{388A9AAF-E3CA-4C1E-BFF5-2B98753DA8BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{388A9AAF-E3CA-4C1E-BFF5-2B98753DA8BC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

Binary file not shown.

Binary file not shown.

@ -364,6 +364,20 @@ namespace OnDocOffice
this.resturi = resturi;
this.apikey = apikey;
}
public void test_remove_signature()
{
Start_Application();
doc = word.Documents.Open(filename);
word_signature ws = new word_signature(this.connectstring);
ws.remove_unterschriften(ref word, dokumentid);
ws = null;
word.Visible = true;
doc.Close();
doc = null;
word.Quit(false);
word = null;
}
public bool Start_Application()
{
try
@ -2125,4 +2139,5 @@ namespace OnDocOffice
}
}
}

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>

@ -0,0 +1,116 @@
namespace OnDocUpdate
{
partial class Form1
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Vom Windows Form-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(279, 114);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(201, 24);
this.label1.TabIndex = 0;
this.label1.Text = "OnDoc wird aktualisiert";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(279, 138);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(305, 24);
this.label2.TabIndex = 1;
this.label2.Text = "Bitte einen kurzen Moment warten. ";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(279, 246);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(464, 24);
this.label3.TabIndex = 2;
this.label3.Text = "Nach der Installation wird OnDoc automatisch gestartet";
//
// pictureBox1
//
this.pictureBox1.ErrorImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.ErrorImage")));
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.InitialImage")));
this.pictureBox1.Location = new System.Drawing.Point(12, 12);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(261, 258);
this.pictureBox1.TabIndex = 3;
this.pictureBox1.TabStop = false;
//
// timer1
//
this.timer1.Interval = 1000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(764, 277);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Form1";
this.Text = "OnDoc-Update";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Timer timer1;
}
}

@ -0,0 +1,123 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml.Schema;
using System.IO.Compression;
using System.IO;
using System.Linq.Expressions;
namespace OnDocUpdate
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
timer1.Enabled = true;
}
public void Update() {
try
{
Application.DoEvents();
string filename = Params.UpdatePath + @"\version.txt";
string version = "";
if (System.IO.File.Exists(filename))
{
version = System.IO.File.ReadAllText(filename);
if (version != Params.Version)
{
MessageBox.Show("Die angeforderte Update-Version " + Params.Version + " ist nicht verfügbar", "OnDoc-Update", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
}
string sourcefilename = Params.UpdatePath + @"\" + Params.Version.Replace(".", "_") + "_OnDocUpdate.zip";
string destfilename = Params.DestPath + @"\" + Params.Version.Replace(".", "_") + "_OnDocUpdate.zip";
if (!System.IO.File.Exists(sourcefilename))
{
MessageBox.Show("Die angeforderte Update-Datei " + sourcefilename + " ist nicht vorhanden", "OnDoc-Update", MessageBoxButtons.OK, MessageBoxIcon.Error);
this.Close();
return;
}
if (!System.IO.Directory.Exists(Params.DestPath))
{
MessageBox.Show("Die angegebene Zielverzeichnis " + Params.DestPath + " ist nicht vorhanden", "OnDoc-Update", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
System.IO.File.Copy(sourcefilename, destfilename, true);
if (ExtractAndOverwrite(destfilename, Params.DestPath))
{
if (Params.StartApp != "")
{
Process.Start(Params.StartApp);
}
}
this.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private bool ExtractAndOverwrite(string zipfile, string destpath)
{
try
{
string zipPath = zipfile;
string tempPath = Path.Combine(destpath, "tempUnzip");
string extractPath = destpath;
if (!System.IO.Directory.Exists(tempPath))
{
System.IO.Directory.CreateDirectory(tempPath);
}
ZipFile.ExtractToDirectory(zipPath, tempPath);
//build an array of the unzipped files
string[] files = Directory.GetFiles(tempPath);
foreach (string file in files)
{
FileInfo f = new FileInfo(file);
//Check if the file exists already, if so delete it and then move the new file to the extract folder
if (File.Exists(Path.Combine(extractPath, f.Name)))
{
File.Delete(Path.Combine(extractPath, f.Name));
File.Move(f.FullName, Path.Combine(extractPath, f.Name));
}
else
{
File.Move(f.FullName, Path.Combine(extractPath, f.Name));
}
}
//Delete the temporary directory.
Directory.Delete(tempPath);
return true;
}
catch (Exception)
{
return false;
}
}
private void timer1_Tick(object sender, EventArgs e)
{
timer1.Enabled = false;
Update();
this.Close();
}
}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{388A9AAF-E3CA-4C1E-BFF5-2B98753DA8BC}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>OnDocUpdate</RootNamespace>
<AssemblyName>OnDocUpdate</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.IO.Compression.ZipFile, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Params.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>1.8.0.0 x:\ondocupdate X:\OnDocUpdate\App x:\ondocupdate\app\ondoc.exe</StartArguments>
</PropertyGroup>
</Project>

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnDocUpdate
{
public static class Params
{
public static string Version { get; set; } = "";
public static string UpdatePath { get; set; } = "";
public static string DestPath { get; set; } = "";
public static string StartApp { get; set; } = "";
}
}

@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OnDocUpdate
{
internal static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
//[STAThread]
static void Main(string[] args)
{
//MessageBox.Show(args[0].ToString());
//MessageBox.Show(args[1].ToString());
//MessageBox.Show(args[2].ToString());
//MessageBox.Show(args[3].ToString());
Params.Version = args[0].ToString();
Params.UpdatePath =args[1].ToString();
Params.DestPath =args[2].ToString();
Params.StartApp= args[3].ToString();
// args[0].ToString().ToUpper().Substring(args[0].ToStrin
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("OnDocUpdate")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("HP Inc.")]
[assembly: AssemblyProduct("OnDocUpdate")]
[assembly: AssemblyCopyright("Copyright © HP Inc. 2025")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[assembly: Guid("388a9aaf-e3ca-4c1e-bff5-2b98753da8bc")]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion: 4.0.30319.42000
//
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code neu generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace OnDocUpdate.Properties
{
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
// über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OnDocUpdate.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace OnDocUpdate.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

@ -0,0 +1 @@
7c86b784c17564ca0a07190f5787ecd2e09cce3fa2662a7ab5fccc1ad04fc966

@ -0,0 +1,10 @@
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\bin\Debug\OnDocUpdate.exe.config
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\bin\Debug\OnDocUpdate.exe
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\bin\Debug\OnDocUpdate.pdb
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\obj\Debug\OnDocUpdate.csproj.AssemblyReference.cache
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\obj\Debug\OnDocUpdate.Form1.resources
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\obj\Debug\OnDocUpdate.Properties.Resources.resources
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\obj\Debug\OnDocUpdate.csproj.GenerateResource.cache
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\obj\Debug\OnDocUpdate.csproj.CoreCompileInputs.cache
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\obj\Debug\OnDocUpdate.exe
E:\Software-Projekte\OnDoc\OnDoc\OnDocUpdate\obj\Debug\OnDocUpdate.pdb

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="net48" />
</packages>

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("OnDocWPF")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+98dc8ed0cbcc62faae6dc523467029ce5fce8ccf")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+2773ca3baa9f7205b33e8c138f6f23ec97efff7c")]
[assembly: System.Reflection.AssemblyProductAttribute("OnDocWPF")]
[assembly: System.Reflection.AssemblyTitleAttribute("OnDocWPF")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1 +1 @@
56f69c6b11d6a1641b920bc0774f607c6a8c6c42861287ca920c4aa861e686d4
fc5e98d20ff9589c8d14ab00286c9b93ccc9d26911ec767c6a94cfb27c0af931

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>

@ -0,0 +1,227 @@
namespace OnDoc_JSONViewer
{
partial class Form1
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Vom Windows Form-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
private void InitializeComponent()
{
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings1 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings1 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings1 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.listBox1 = new System.Windows.Forms.ListBox();
this.button1 = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.pdfViewerControl1 = new Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripCheckBox1 = new Syncfusion.Windows.Forms.Tools.ToolStripCheckBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(18, 27);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(61, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Verzeichnis";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(97, 27);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(222, 20);
this.textBox1.TabIndex = 1;
this.textBox1.Text = "X:\\jsontemp";
//
// listBox1
//
this.listBox1.FormattingEnabled = true;
this.listBox1.Location = new System.Drawing.Point(21, 63);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(366, 719);
this.listBox1.Sorted = true;
this.listBox1.TabIndex = 2;
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
//
// button1
//
this.button1.Location = new System.Drawing.Point(326, 23);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(61, 23);
this.button1.TabIndex = 3;
this.button1.Text = "Scan";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.listBox1);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.textBox1);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(401, 836);
this.groupBox1.TabIndex = 4;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Dateien";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.textBox2);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Left;
this.groupBox2.Location = new System.Drawing.Point(401, 0);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(658, 836);
this.groupBox2.TabIndex = 5;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "JSON";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.pdfViewerControl1);
this.groupBox3.Controls.Add(this.toolStrip1);
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox3.Location = new System.Drawing.Point(1059, 0);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(781, 836);
this.groupBox3.TabIndex = 6;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "PDF";
//
// pdfViewerControl1
//
this.pdfViewerControl1.CursorMode = Syncfusion.Windows.Forms.PdfViewer.PdfViewerCursorMode.SelectTool;
this.pdfViewerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pdfViewerControl1.EnableContextMenu = true;
this.pdfViewerControl1.EnableNotificationBar = true;
this.pdfViewerControl1.HorizontalScrollOffset = 0;
this.pdfViewerControl1.IsBookmarkEnabled = true;
this.pdfViewerControl1.IsTextSearchEnabled = true;
this.pdfViewerControl1.IsTextSelectionEnabled = true;
this.pdfViewerControl1.Location = new System.Drawing.Point(3, 41);
messageBoxSettings1.EnableNotification = true;
this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings1;
this.pdfViewerControl1.MinimumZoomPercentage = 50;
this.pdfViewerControl1.Name = "pdfViewerControl1";
this.pdfViewerControl1.PageBorderThickness = 1;
pdfViewerPrinterSettings1.Copies = 1;
pdfViewerPrinterSettings1.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
pdfViewerPrinterSettings1.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
pdfViewerPrinterSettings1.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings1.PrintLocation")));
pdfViewerPrinterSettings1.ShowPrintStatusDialog = true;
this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings1;
this.pdfViewerControl1.ReferencePath = null;
this.pdfViewerControl1.ScrollDisplacementValue = 0;
this.pdfViewerControl1.ShowHorizontalScrollBar = true;
this.pdfViewerControl1.ShowToolBar = true;
this.pdfViewerControl1.ShowVerticalScrollBar = true;
this.pdfViewerControl1.Size = new System.Drawing.Size(775, 792);
this.pdfViewerControl1.SpaceBetweenPages = 8;
this.pdfViewerControl1.TabIndex = 0;
this.pdfViewerControl1.Text = "pdfViewerControl1";
textSearchSettings1.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
textSearchSettings1.HighlightAllInstance = true;
textSearchSettings1.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
this.pdfViewerControl1.TextSearchSettings = textSearchSettings1;
this.pdfViewerControl1.VerticalScrollOffset = 0;
this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default;
this.pdfViewerControl1.ZoomMode = Syncfusion.Windows.Forms.PdfViewer.ZoomMode.Default;
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripCheckBox1});
this.toolStrip1.Location = new System.Drawing.Point(3, 16);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(775, 25);
this.toolStrip1.TabIndex = 1;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripCheckBox1
//
this.toolStripCheckBox1.Name = "toolStripCheckBox1";
this.toolStripCheckBox1.Size = new System.Drawing.Size(78, 22);
this.toolStripCheckBox1.Text = "PDV-View";
//
// textBox2
//
this.textBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox2.Location = new System.Drawing.Point(3, 16);
this.textBox2.Multiline = true;
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(652, 817);
this.textBox2.TabIndex = 0;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1840, 836);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Name = "Form1";
this.Text = "JSONViewer";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox groupBox3;
private Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl pdfViewerControl1;
private System.Windows.Forms.ToolStrip toolStrip1;
private Syncfusion.Windows.Forms.Tools.ToolStripCheckBox toolStripCheckBox1;
private System.Windows.Forms.TextBox textBox2;
}
}

@ -0,0 +1,94 @@
using Syncfusion.XPS;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Newtonsoft;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Syncfusion.Windows.Forms.PdfViewer;
namespace OnDoc_JSONViewer
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
listBox1.Items.Clear();
DirectoryInfo dir = new DirectoryInfo(textBox1.Text);
foreach (FileInfo file in dir.GetFiles())
{
listBox1.Items.Add(file.Name);
}
}
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{
string ext = System.IO.Path.GetExtension(listBox1.SelectedItem.ToString().ToUpper());
string filename = textBox1.Text + @"\" + listBox1.SelectedItem.ToString();
textBox2.Text = "";
switch (ext)
{
case ".PDF":
pdfViewerControl1.Load(filename);
break;
case ".JSON":
string jsonstring;
using (StreamReader streamReader = new StreamReader(filename, Encoding.UTF8))
{
jsonstring = streamReader.ReadToEnd();
}
// var prettyJson1 = JsonConvert.SerializeObject(jsonstring, Formatting.Indented);
//dynamic parsedJson1 = JsonConvert.DeserializeObject(jsonstring);
//prettyJson1 = JsonConvert.SerializeObject(parsedJson1, Formatting.Indented);
string source2 = jsonstring;
dynamic data2 = JObject.Parse(source2);
string data3 = JObject.Parse(jsonstring)["bpNummer"].ToString();
string data4 = JObject.Parse(jsonstring)["personNummer"].ToString();
textBox2.Text= data3 + Environment.NewLine+data4;
if (toolStripCheckBox1.Checked == true)
{
try
{
string source = jsonstring;
dynamic data = JObject.Parse(source);
string data1 = JObject.Parse(jsonstring)["dokumentDatei"].ToString();
var stream = new MemoryStream(Convert.FromBase64String(data1));
if (stream.Length > 0)
{
this.pdfViewerControl1.Load(stream);
this.pdfViewerControl1.Visible = true;
pdfViewerControl1.ZoomMode = ZoomMode.FitWidth;
stream = null;
}
else
{
}
}
catch { }
}
break;
}
}
}
}

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="pdfViewerPrinterSettings1.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh
d2luZy5Qb2ludEYCAAAAAXgBeQAACwsCAAAAAAAAAAAAAAAL
</value>
</data>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B0ED9A08-613F-48FA-9890-1B84197FD8BA}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>OnDoc_JSONViewer</RootNamespace>
<AssemblyName>OnDoc_JSONViewer</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Syncfusion.Edit.Windows, Version=30.2462.4.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.Pdf.Base, Version=30.2462.4.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
<Reference Include="Syncfusion.PdfToImageConverter.Base, Version=30.2462.4.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
<Reference Include="Syncfusion.PdfViewer.Windows, Version=30.2462.4.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.Shared.Base, Version=30.2462.4.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL" />
<Reference Include="Syncfusion.Tools.Windows, Version=30.2462.4.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing.Design" />
<Reference Include="System.Runtime.Serialization.Formatters.Soap" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OnDoc_JSONViewer
{
internal static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("OnDoc_JSONViewer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("HP Inc.")]
[assembly: AssemblyProduct("OnDoc_JSONViewer")]
[assembly: AssemblyCopyright("Copyright © HP Inc. 2025")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[assembly: Guid("b0ed9a08-613f-48fa-9890-1b84197fd8ba")]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion: 4.0.30319.42000
//
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code neu generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace OnDoc_JSONViewer.Properties
{
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
// über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OnDoc_JSONViewer.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace OnDoc_JSONViewer.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

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

Loading…
Cancel
Save