update 20260326

This commit is contained in:
Stefan Hutter
2026-03-26 18:26:34 +01:00
parent 399d63bc69
commit e82057b6e4
87 changed files with 5024 additions and 139 deletions

View File

@@ -43,11 +43,26 @@
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.grpversanddetails = new System.Windows.Forms.GroupBox();
this.panel2 = new System.Windows.Forms.Panel();
this.label17 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.txtgassize = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.txtanzahlseiten = new System.Windows.Forms.TextBox();
this.txtanzahldokumente = new System.Windows.Forms.TextBox();
this.txtgasadresse = new System.Windows.Forms.TextBox();
this.txtversandart = new System.Windows.Forms.TextBox();
this.panelsign = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.grpDetails = new System.Windows.Forms.GroupBox();
this.label4 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.label15 = new System.Windows.Forms.Label();
this.lblnotizen = new System.Windows.Forms.Label();
this.sfListView1 = new Syncfusion.WinForms.ListView.SfListView();
this.txtNote = new System.Windows.Forms.TextBox();
this.txtnotewriter = new System.Windows.Forms.TextBox();
@@ -74,6 +89,9 @@
this.ribbonButtonNotApproved = new System.Windows.Forms.RibbonButton();
this.ribbonPanel2 = new System.Windows.Forms.RibbonPanel();
this.ribbonButton1 = new System.Windows.Forms.RibbonButton();
this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
this.label4 = new System.Windows.Forms.Label();
this.txtcouverterstelltam = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -82,8 +100,11 @@
this.pnlsignerror.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).BeginInit();
this.pnlMultiThreading.SuspendLayout();
this.grpversanddetails.SuspendLayout();
this.panel2.SuspendLayout();
this.panelsign.SuspendLayout();
this.grpDetails.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
@@ -99,13 +120,13 @@
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.pnlMultiThreading);
this.splitContainer1.Panel2.Controls.Add(this.grpversanddetails);
this.splitContainer1.Panel2.Controls.Add(this.panelsign);
this.splitContainer1.Panel2.Controls.Add(this.panel1);
this.splitContainer1.Panel2.Controls.Add(this.grpDetails);
this.splitContainer1.Panel2.Controls.Add(this.docPreview1);
this.splitContainer1.Panel2.Controls.Add(this.ribbon3);
this.splitContainer1.Size = new System.Drawing.Size(1629, 876);
this.splitContainer1.SplitterDistance = 300;
this.splitContainer1.SplitterDistance = 298;
this.splitContainer1.TabIndex = 1;
//
// groupBox1
@@ -115,10 +136,11 @@
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(300, 876);
this.groupBox1.Size = new System.Drawing.Size(298, 876);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Dokumente";
this.groupBox1.Resize += new System.EventHandler(this.groupBox1_Resize);
//
// pnlsignerror
//
@@ -126,7 +148,7 @@
this.pnlsignerror.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlsignerror.Location = new System.Drawing.Point(3, 773);
this.pnlsignerror.Name = "pnlsignerror";
this.pnlsignerror.Size = new System.Drawing.Size(294, 100);
this.pnlsignerror.Size = new System.Drawing.Size(292, 100);
this.pnlsignerror.TabIndex = 5;
this.pnlsignerror.Visible = false;
//
@@ -220,7 +242,7 @@
treeNodeAdv1,
treeNodeAdv4});
this.treeViewAdv1.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
this.treeViewAdv1.Size = new System.Drawing.Size(294, 857);
this.treeViewAdv1.Size = new System.Drawing.Size(292, 857);
this.treeViewAdv1.TabIndex = 4;
this.treeViewAdv1.Text = "treeViewAdv1";
this.treeViewAdv1.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0;
@@ -280,6 +302,149 @@
this.label6.TabIndex = 0;
this.label6.Text = "Das Dokument wird signiert - bitte warten";
//
// grpversanddetails
//
this.grpversanddetails.BackColor = System.Drawing.SystemColors.Window;
this.grpversanddetails.Controls.Add(this.label4);
this.grpversanddetails.Controls.Add(this.txtcouverterstelltam);
this.grpversanddetails.Controls.Add(this.panel2);
this.grpversanddetails.Controls.Add(this.label14);
this.grpversanddetails.Controls.Add(this.label16);
this.grpversanddetails.Controls.Add(this.txtgassize);
this.grpversanddetails.Controls.Add(this.label13);
this.grpversanddetails.Controls.Add(this.label12);
this.grpversanddetails.Controls.Add(this.label11);
this.grpversanddetails.Controls.Add(this.label10);
this.grpversanddetails.Controls.Add(this.txtanzahlseiten);
this.grpversanddetails.Controls.Add(this.txtanzahldokumente);
this.grpversanddetails.Controls.Add(this.txtgasadresse);
this.grpversanddetails.Controls.Add(this.txtversandart);
this.grpversanddetails.Location = new System.Drawing.Point(616, 284);
this.grpversanddetails.Margin = new System.Windows.Forms.Padding(0);
this.grpversanddetails.Name = "grpversanddetails";
this.grpversanddetails.Padding = new System.Windows.Forms.Padding(0);
this.grpversanddetails.Size = new System.Drawing.Size(321, 363);
this.grpversanddetails.TabIndex = 40;
this.grpversanddetails.TabStop = false;
this.grpversanddetails.Visible = false;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.Cornsilk;
this.panel2.Controls.Add(this.label17);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 13);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(321, 26);
this.panel2.TabIndex = 42;
//
// label17
//
this.label17.AutoSize = true;
this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label17.Location = new System.Drawing.Point(6, 5);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(120, 17);
this.label17.TabIndex = 0;
this.label17.Text = "Couvert-Details";
//
// label14
//
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(11, 136);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(45, 13);
this.label14.TabIndex = 7;
this.label14.Text = "Adresse";
//
// label16
//
this.label16.AutoSize = true;
this.label16.Location = new System.Drawing.Point(6, 265);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(80, 13);
this.label16.TabIndex = 9;
this.label16.Text = "Couvert-Grösse";
//
// txtgassize
//
this.txtgassize.Location = new System.Drawing.Point(103, 265);
this.txtgassize.Name = "txtgassize";
this.txtgassize.ReadOnly = true;
this.txtgassize.Size = new System.Drawing.Size(203, 20);
this.txtgassize.TabIndex = 8;
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(6, 235);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(61, 13);
this.label13.TabIndex = 6;
this.label13.Text = "Anz. Seiten";
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(6, 207);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(86, 13);
this.label12.TabIndex = 5;
this.label12.Text = "Anz. Dokumente";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(11, 123);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(68, 13);
this.label11.TabIndex = 5;
this.label11.Text = "Rückantwort";
this.label11.Click += new System.EventHandler(this.label11_Click);
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(10, 86);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(63, 13);
this.label10.TabIndex = 4;
this.label10.Text = "Versandsart";
this.label10.Click += new System.EventHandler(this.label10_Click);
//
// txtanzahlseiten
//
this.txtanzahlseiten.Location = new System.Drawing.Point(103, 235);
this.txtanzahlseiten.Name = "txtanzahlseiten";
this.txtanzahlseiten.ReadOnly = true;
this.txtanzahlseiten.Size = new System.Drawing.Size(203, 20);
this.txtanzahlseiten.TabIndex = 3;
//
// txtanzahldokumente
//
this.txtanzahldokumente.Location = new System.Drawing.Point(103, 204);
this.txtanzahldokumente.Name = "txtanzahldokumente";
this.txtanzahldokumente.ReadOnly = true;
this.txtanzahldokumente.Size = new System.Drawing.Size(203, 20);
this.txtanzahldokumente.TabIndex = 2;
//
// txtgasadresse
//
this.txtgasadresse.Location = new System.Drawing.Point(103, 123);
this.txtgasadresse.Multiline = true;
this.txtgasadresse.Name = "txtgasadresse";
this.txtgasadresse.ReadOnly = true;
this.txtgasadresse.Size = new System.Drawing.Size(203, 74);
this.txtgasadresse.TabIndex = 1;
//
// txtversandart
//
this.txtversandart.Location = new System.Drawing.Point(102, 83);
this.txtversandart.Name = "txtversandart";
this.txtversandart.ReadOnly = true;
this.txtversandart.Size = new System.Drawing.Size(203, 20);
this.txtversandart.TabIndex = 0;
//
// panelsign
//
this.panelsign.BackColor = System.Drawing.SystemColors.ActiveBorder;
@@ -300,17 +465,11 @@
this.label5.TabIndex = 0;
this.label5.Text = "Das Dokument wird signiert - bitte warten";
//
// panel1
//
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
this.panel1.Location = new System.Drawing.Point(983, 86);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(10, 790);
this.panel1.TabIndex = 4;
//
// grpDetails
//
this.grpDetails.Controls.Add(this.label4);
this.grpDetails.BackColor = System.Drawing.SystemColors.Window;
this.grpDetails.Controls.Add(this.panel1);
this.grpDetails.Controls.Add(this.lblnotizen);
this.grpDetails.Controls.Add(this.sfListView1);
this.grpDetails.Controls.Add(this.txtNote);
this.grpDetails.Controls.Add(this.txtnotewriter);
@@ -330,22 +489,42 @@
this.grpDetails.Controls.Add(this.txtdokumentid);
this.grpDetails.Controls.Add(this.label1);
this.grpDetails.Dock = System.Windows.Forms.DockStyle.Right;
this.grpDetails.Location = new System.Drawing.Point(993, 86);
this.grpDetails.Location = new System.Drawing.Point(995, 86);
this.grpDetails.Name = "grpDetails";
this.grpDetails.Size = new System.Drawing.Size(332, 790);
this.grpDetails.TabIndex = 3;
this.grpDetails.TabStop = false;
this.grpDetails.Text = "Details";
this.grpDetails.Visible = false;
//
// label4
// panel1
//
this.label4.AutoSize = true;
this.label4.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label4.Location = new System.Drawing.Point(3, 356);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(43, 13);
this.label4.TabIndex = 37;
this.label4.Text = "Notizen";
this.panel1.BackColor = System.Drawing.Color.Cornsilk;
this.panel1.Controls.Add(this.label15);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(3, 16);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(326, 28);
this.panel1.TabIndex = 41;
//
// label15
//
this.label15.AutoSize = true;
this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label15.Location = new System.Drawing.Point(3, 5);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(58, 17);
this.label15.TabIndex = 0;
this.label15.Text = "Details";
//
// lblnotizen
//
this.lblnotizen.AutoSize = true;
this.lblnotizen.Dock = System.Windows.Forms.DockStyle.Bottom;
this.lblnotizen.Location = new System.Drawing.Point(3, 495);
this.lblnotizen.Name = "lblnotizen";
this.lblnotizen.Size = new System.Drawing.Size(43, 13);
this.lblnotizen.TabIndex = 37;
this.lblnotizen.Text = "Notizen";
//
// sfListView1
//
@@ -353,10 +532,10 @@
this.sfListView1.AutoHideScrollBars = true;
this.sfListView1.BackColor = System.Drawing.SystemColors.Window;
this.sfListView1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.sfListView1.Location = new System.Drawing.Point(3, 369);
this.sfListView1.Location = new System.Drawing.Point(3, 508);
this.sfListView1.Name = "sfListView1";
this.sfListView1.ShowToolTip = true;
this.sfListView1.Size = new System.Drawing.Size(326, 310);
this.sfListView1.Size = new System.Drawing.Size(326, 171);
this.sfListView1.TabIndex = 36;
this.sfListView1.Text = "sfListView1";
this.sfListView1.VerticalScrollIncrement = 20;
@@ -385,7 +564,7 @@
//
// txtVerantwortlich
//
this.txtVerantwortlich.Location = new System.Drawing.Point(88, 294);
this.txtVerantwortlich.Location = new System.Drawing.Point(91, 326);
this.txtVerantwortlich.Name = "txtVerantwortlich";
this.txtVerantwortlich.ReadOnly = true;
this.txtVerantwortlich.Size = new System.Drawing.Size(230, 20);
@@ -394,7 +573,7 @@
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(3, 294);
this.label3.Location = new System.Drawing.Point(6, 326);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(76, 13);
this.label3.TabIndex = 34;
@@ -402,7 +581,7 @@
//
// txtmutiertam
//
this.txtmutiertam.Location = new System.Drawing.Point(88, 251);
this.txtmutiertam.Location = new System.Drawing.Point(91, 283);
this.txtmutiertam.Name = "txtmutiertam";
this.txtmutiertam.ReadOnly = true;
this.txtmutiertam.Size = new System.Drawing.Size(230, 20);
@@ -410,7 +589,7 @@
//
// txtmutierer
//
this.txtmutierer.Location = new System.Drawing.Point(88, 225);
this.txtmutierer.Location = new System.Drawing.Point(91, 257);
this.txtmutierer.Name = "txtmutierer";
this.txtmutierer.ReadOnly = true;
this.txtmutierer.Size = new System.Drawing.Size(230, 20);
@@ -418,7 +597,7 @@
//
// txtersteller
//
this.txtersteller.Location = new System.Drawing.Point(88, 189);
this.txtersteller.Location = new System.Drawing.Point(91, 221);
this.txtersteller.Name = "txtersteller";
this.txtersteller.ReadOnly = true;
this.txtersteller.Size = new System.Drawing.Size(230, 20);
@@ -427,7 +606,7 @@
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(3, 225);
this.label2.Location = new System.Drawing.Point(6, 257);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 13);
this.label2.TabIndex = 30;
@@ -435,7 +614,7 @@
//
// txterstelltam
//
this.txterstelltam.Location = new System.Drawing.Point(88, 163);
this.txterstelltam.Location = new System.Drawing.Point(91, 195);
this.txterstelltam.Name = "txterstelltam";
this.txterstelltam.ReadOnly = true;
this.txterstelltam.Size = new System.Drawing.Size(230, 20);
@@ -444,7 +623,7 @@
// Erstellung
//
this.Erstellung.AutoSize = true;
this.Erstellung.Location = new System.Drawing.Point(3, 166);
this.Erstellung.Location = new System.Drawing.Point(6, 198);
this.Erstellung.Name = "Erstellung";
this.Erstellung.Size = new System.Drawing.Size(53, 13);
this.Erstellung.TabIndex = 28;
@@ -452,7 +631,7 @@
//
// txtPartner
//
this.txtPartner.Location = new System.Drawing.Point(88, 117);
this.txtPartner.Location = new System.Drawing.Point(91, 149);
this.txtPartner.Name = "txtPartner";
this.txtPartner.ReadOnly = true;
this.txtPartner.Size = new System.Drawing.Size(230, 20);
@@ -460,7 +639,7 @@
//
// txtPartnerNr
//
this.txtPartnerNr.Location = new System.Drawing.Point(88, 91);
this.txtPartnerNr.Location = new System.Drawing.Point(91, 123);
this.txtPartnerNr.Name = "txtPartnerNr";
this.txtPartnerNr.ReadOnly = true;
this.txtPartnerNr.Size = new System.Drawing.Size(163, 20);
@@ -469,7 +648,7 @@
// lblPartner
//
this.lblPartner.AutoSize = true;
this.lblPartner.Location = new System.Drawing.Point(3, 94);
this.lblPartner.Location = new System.Drawing.Point(6, 124);
this.lblPartner.Name = "lblPartner";
this.lblPartner.Size = new System.Drawing.Size(41, 13);
this.lblPartner.TabIndex = 25;
@@ -477,7 +656,7 @@
//
// txtbezeichnung
//
this.txtbezeichnung.Location = new System.Drawing.Point(88, 50);
this.txtbezeichnung.Location = new System.Drawing.Point(91, 82);
this.txtbezeichnung.Name = "txtbezeichnung";
this.txtbezeichnung.ReadOnly = true;
this.txtbezeichnung.Size = new System.Drawing.Size(230, 20);
@@ -486,7 +665,7 @@
// Bezeichnung
//
this.Bezeichnung.AutoSize = true;
this.Bezeichnung.Location = new System.Drawing.Point(3, 53);
this.Bezeichnung.Location = new System.Drawing.Point(6, 85);
this.Bezeichnung.Name = "Bezeichnung";
this.Bezeichnung.Size = new System.Drawing.Size(69, 13);
this.Bezeichnung.TabIndex = 23;
@@ -494,7 +673,7 @@
//
// txtdokumentid
//
this.txtdokumentid.Location = new System.Drawing.Point(88, 24);
this.txtdokumentid.Location = new System.Drawing.Point(91, 56);
this.txtdokumentid.Name = "txtdokumentid";
this.txtdokumentid.ReadOnly = true;
this.txtdokumentid.Size = new System.Drawing.Size(163, 20);
@@ -503,7 +682,7 @@
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 27);
this.label1.Location = new System.Drawing.Point(6, 59);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(70, 13);
this.label1.TabIndex = 21;
@@ -514,7 +693,7 @@
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Left;
this.docPreview1.Location = new System.Drawing.Point(0, 86);
this.docPreview1.Name = "docPreview1";
this.docPreview1.Size = new System.Drawing.Size(1083, 790);
this.docPreview1.Size = new System.Drawing.Size(333, 790);
this.docPreview1.TabIndex = 0;
this.docPreview1.ZoomPercentage = 0;
//
@@ -536,7 +715,7 @@
this.ribbon3.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2013;
this.ribbon3.OrbVisible = false;
this.ribbon3.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F);
this.ribbon3.Size = new System.Drawing.Size(1325, 86);
this.ribbon3.Size = new System.Drawing.Size(1327, 86);
this.ribbon3.TabIndex = 2;
this.ribbon3.Tabs.Add(this.ribbonTab1);
this.ribbon3.TabSpacing = 4;
@@ -591,6 +770,23 @@
this.ribbonButton1.Text = "Aktualisieren";
this.ribbonButton1.Click += new System.EventHandler(this.ribbonButton1_Click);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(11, 59);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(55, 13);
this.label4.TabIndex = 44;
this.label4.Text = "Erstellt am";
//
// txtcouverterstelltam
//
this.txtcouverterstelltam.Location = new System.Drawing.Point(102, 56);
this.txtcouverterstelltam.Name = "txtcouverterstelltam";
this.txtcouverterstelltam.ReadOnly = true;
this.txtcouverterstelltam.Size = new System.Drawing.Size(203, 20);
this.txtcouverterstelltam.TabIndex = 43;
//
// Approval
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -598,6 +794,7 @@
this.Controls.Add(this.splitContainer1);
this.Name = "Approval";
this.Size = new System.Drawing.Size(1629, 876);
this.SizeChanged += new System.EventHandler(this.Approval_SizeChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
@@ -607,10 +804,16 @@
((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).EndInit();
this.pnlMultiThreading.ResumeLayout(false);
this.pnlMultiThreading.PerformLayout();
this.grpversanddetails.ResumeLayout(false);
this.grpversanddetails.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.panelsign.ResumeLayout(false);
this.panelsign.PerformLayout();
this.grpDetails.ResumeLayout(false);
this.grpDetails.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
@@ -626,7 +829,7 @@
private System.Windows.Forms.RibbonButton ribbonButtonApproved;
private System.Windows.Forms.RibbonButton ribbonButtonNotApproved;
private System.Windows.Forms.GroupBox grpDetails;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label lblnotizen;
private Syncfusion.WinForms.ListView.SfListView sfListView1;
private System.Windows.Forms.TextBox txtVerantwortlich;
private System.Windows.Forms.Label label3;
@@ -645,7 +848,6 @@
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtNote;
private System.Windows.Forms.TextBox txtnotewriter;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.RibbonPanel ribbonPanel2;
private System.Windows.Forms.RibbonButton ribbonButton1;
private System.Windows.Forms.Panel panelsign;
@@ -657,5 +859,24 @@
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Panel pnlsignerror;
private System.Windows.Forms.Label label9;
private System.ComponentModel.BackgroundWorker backgroundWorker1;
private System.Windows.Forms.GroupBox grpversanddetails;
private System.Windows.Forms.TextBox txtversandart;
private System.Windows.Forms.TextBox txtanzahlseiten;
private System.Windows.Forms.TextBox txtanzahldokumente;
private System.Windows.Forms.TextBox txtgasadresse;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.TextBox txtgassize;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtcouverterstelltam;
}
}

View File

@@ -95,18 +95,48 @@ namespace OnDoc.UIControls
try
{
if (nodetag.Contains("(Paket)"))
docPreview1.Width = splitContainer1.Panel2.Width - grpDetails.Width - 5;
grpversanddetails.Left = grpDetails.Left;
grpversanddetails.Top= grpDetails.Top;
grpversanddetails.Width = grpDetails.Width;
grpversanddetails.Visible = false;
grpversanddetails.Dock = DockStyle.Right;
grpDetails.Dock = DockStyle.Right;
if (nodetag.Contains("Couvert)"))
{
string pid = nodetag.Substring(0, nodetag.Length - 7);
grpDetails.Visible = false;
string pid = nodetag.Substring(0, nodetag.Length - 9);
//grpDetails.Visible = false;
DB dB = new DB(AppParams.connectionstring);
dB.Get_Tabledata("Select paket from ondoc_versandstrasse_paket where id = " + pid.ToString(), false, true);
dB.Get_Tabledata("Select paket, erstellt_am from ondoc_versandstrasse_paket where id = " + pid.ToString(), false, true);
Versandpaket vp = JsonConvert.DeserializeObject<Versandpaket>(dB.dsdaten.Tables[0].Rows[0]["paket"].ToString());
this.docPreview1.Show_Doc(vp.finaldoc);
// vp = null;
try
{
txtcouverterstelltam.Text = "";
txtversandart.Text = "";
txtgasadresse.Text = "";
txtanzahldokumente.Text = "";
txtanzahldokumente.Text = "";
txtanzahlseiten.Text = "";
txtgassize.Text = "";
txtversandart.Text = vp.Versandoption;
txtcouverterstelltam.Text=dB.dsdaten.Tables[0].Rows[0]["erstellt_am"].ToString();
txtgasadresse.Text = vp.GASAdresse.Replace(";",Environment.NewLine);
txtanzahldokumente.Text = vp.Dokument.Count.ToString();
txtanzahlseiten.Text= this.docPreview1.Get_Page_Count().ToString();
txtgassize.Text = vp.GASSize.ToString();
}
catch { }
grpversanddetails.Visible = true;
grpversanddetails.Dock = DockStyle.Right;
vp = null;
this.docPreview1.Width = this.Width - grpversanddetails.Width - groupBox1.Width-10;
dB = null;
return;
}
grpDetails.Visible = true;
this.docPreview1.Width = this.Width - grpDetails.Width - groupBox1.Width-10;
notes.Rows.Clear(); ;
notes.Columns.Clear();
notes.AcceptChanges();
@@ -214,8 +244,8 @@ namespace OnDoc.UIControls
}
TreeNodeAdv tndok = new TreeNodeAdv();
tndok.Text = "Dokumentpaket - " + dr["Bezeichnung"].ToString();
tndok.Tag = dr["paketid"].ToString() + "(Paket)";
tndok.Text = "Versand-Couvert - " + dr["Bezeichnung"].ToString();
tndok.Tag = dr["paketid"].ToString() + "(Couvert)";
tndok.TagObject = dr;
tnpartner.Nodes.Add(tndok);
}
@@ -239,10 +269,10 @@ namespace OnDoc.UIControls
if (note.ShowDialog() == DialogResult.OK)
{
DB db = new DB(AppParams.connectionstring);
if (treeViewAdv1.SelectedNode.Tag.ToString().Contains("(Paket)"))
if (treeViewAdv1.SelectedNode.Tag.ToString().Contains("(Couvert)"))
{
string pid = treeViewAdv1.SelectedNode.Tag.ToString();
pid = pid.Substring(0, pid.Length - 7);
pid = pid.Substring(0, pid.Length - 9);
DB db1 = new DB(AppParams.connectionstring);
db1.clear_parameter();
db1.add_parameter("@paketid", pid);
@@ -446,10 +476,10 @@ namespace OnDoc.UIControls
int error = 0;
int approvaltype = 0;
this.pnlsignerror.Visible = false;
if (treeViewAdv1.SelectedNode.Tag.ToString().Contains("(Paket)"))
if (treeViewAdv1.SelectedNode.Tag.ToString().Contains("(Couvert)"))
{
string pid = treeViewAdv1.SelectedNode.Tag.ToString();
pid = pid.Substring(0,pid.Length - 7);
pid = pid.Substring(0,pid.Length - 9);
DB db1 = new DB(AppParams.connectionstring);
db1.clear_parameter();
db1.add_parameter("@paketid", pid);
@@ -666,5 +696,28 @@ namespace OnDoc.UIControls
}
catch { }
}
private void label10_Click(object sender, EventArgs e)
{
}
private void label11_Click(object sender, EventArgs e)
{
}
private void groupBox1_Resize(object sender, EventArgs e)
{
}
private void Approval_SizeChanged(object sender, EventArgs e)
{
this.docPreview1.Width = this.Width - grpDetails.Width - groupBox1.Width - 10;
int i = txtVerantwortlich.Top + txtVerantwortlich.Height;
i = txtNote.Top - i;
this.sfListView1.Height = i - lblnotizen.Height-10;
}
}
}

View File

@@ -320,4 +320,10 @@
b2sUjBbOAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="backgroundWorker1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
</metadata>
</root>

View File

@@ -69,6 +69,7 @@ namespace OnDoc.UIControls
clsdok dok = new clsdok("", "", "","");
if (dokumentid.Length > 25) {
dok.dokument = dokumentid;
} else
{

View File

@@ -547,6 +547,7 @@ namespace OnDoc.UICintrols
this.sfDataGrid1.ShowGroupDropArea = true;
this.sfDataGrid1.ShowToolTip = true;
this.sfDataGrid1.Size = new System.Drawing.Size(1709, 341);
this.sfDataGrid1.Style.DragPreviewRowStyle.Font = new System.Drawing.Font("Segoe UI", 9F);
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);