update 20240925

This commit is contained in:
Stefan Hutter
2024-09-25 19:14:14 +02:00
parent d4b9318d96
commit 9fcecb2c35
324 changed files with 1886317 additions and 353 deletions

View File

@@ -32,25 +32,24 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Versandstrasse));
this.treeViewAdv1 = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbtnDruckPaketNew = new System.Windows.Forms.ToolStripButton();
this.tsbtnVersenden = new System.Windows.Forms.ToolStripButton();
this.GrpPaketDetails = new System.Windows.Forms.GroupBox();
this.button1 = new System.Windows.Forms.Button();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.lbgasadresse = new System.Windows.Forms.ListBox();
this.chkGAS = new System.Windows.Forms.CheckBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.txtnachrichtankunde = new System.Windows.Forms.TextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.rbversandoption3 = new System.Windows.Forms.RadioButton();
this.rbversandoption2 = new System.Windows.Forms.RadioButton();
this.rbversandoption1 = new System.Windows.Forms.RadioButton();
this.button1 = new System.Windows.Forms.Button();
this.tsbtnDruckPaketNew = new System.Windows.Forms.ToolStripButton();
this.tsbtnVersenden = new System.Windows.Forms.ToolStripButton();
this.radioButton1 = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton();
((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).BeginInit();
this.toolStrip1.SuspendLayout();
this.GrpPaketDetails.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
@@ -140,12 +139,28 @@
this.toolStrip1.TabIndex = 8;
this.toolStrip1.Text = "toolStrip1";
//
// tsbtnDruckPaketNew
//
this.tsbtnDruckPaketNew.Image = global::OnDoc.Properties.Resources.add_32x32_32;
this.tsbtnDruckPaketNew.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbtnDruckPaketNew.Name = "tsbtnDruckPaketNew";
this.tsbtnDruckPaketNew.Size = new System.Drawing.Size(123, 34);
this.tsbtnDruckPaketNew.Text = "Neues Druckpaket";
this.tsbtnDruckPaketNew.Click += new System.EventHandler(this.tsbtnDruckPaketNew_Click);
//
// tsbtnVersenden
//
this.tsbtnVersenden.Image = global::OnDoc.Properties.Resources.Letter_24x24_32;
this.tsbtnVersenden.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbtnVersenden.Name = "tsbtnVersenden";
this.tsbtnVersenden.Size = new System.Drawing.Size(244, 34);
this.tsbtnVersenden.Text = "Dokumente an Versandstrasse übergeben";
//
// GrpPaketDetails
//
this.GrpPaketDetails.Controls.Add(this.button1);
this.GrpPaketDetails.Controls.Add(this.groupBox3);
this.GrpPaketDetails.Controls.Add(this.groupBox2);
this.GrpPaketDetails.Controls.Add(this.groupBox1);
this.GrpPaketDetails.Controls.Add(this.button1);
this.GrpPaketDetails.Location = new System.Drawing.Point(495, 39);
this.GrpPaketDetails.Name = "GrpPaketDetails";
this.GrpPaketDetails.Size = new System.Drawing.Size(437, 502);
@@ -153,13 +168,23 @@
this.GrpPaketDetails.TabStop = false;
this.GrpPaketDetails.Text = "Details zum Druckpaket";
//
// button1
//
this.button1.Location = new System.Drawing.Point(6, 454);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 3;
this.button1.Text = "Speichern";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.label1);
this.groupBox3.Controls.Add(this.lbgasadresse);
this.groupBox3.Controls.Add(this.chkGAS);
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox3.Location = new System.Drawing.Point(3, 230);
this.groupBox3.Location = new System.Drawing.Point(3, 130);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(431, 192);
this.groupBox3.TabIndex = 2;
@@ -197,29 +222,11 @@
this.chkGAS.Text = "GAS-Rückantwort";
this.chkGAS.UseVisualStyleBackColor = true;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.txtnachrichtankunde);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox2.Location = new System.Drawing.Point(3, 130);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(431, 100);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Nachricht an Kunde";
//
// txtnachrichtankunde
//
this.txtnachrichtankunde.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtnachrichtankunde.Location = new System.Drawing.Point(3, 16);
this.txtnachrichtankunde.Multiline = true;
this.txtnachrichtankunde.Name = "txtnachrichtankunde";
this.txtnachrichtankunde.Size = new System.Drawing.Size(425, 81);
this.txtnachrichtankunde.TabIndex = 0;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.radioButton2);
this.groupBox1.Controls.Add(this.rbversandoption3);
this.groupBox1.Controls.Add(this.radioButton1);
this.groupBox1.Controls.Add(this.rbversandoption2);
this.groupBox1.Controls.Add(this.rbversandoption1);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
@@ -237,7 +244,6 @@
this.rbversandoption3.Name = "rbversandoption3";
this.rbversandoption3.Size = new System.Drawing.Size(207, 17);
this.rbversandoption3.TabIndex = 2;
this.rbversandoption3.TabStop = true;
this.rbversandoption3.Text = "Hauptadresse, Postversand erzwingen";
this.rbversandoption3.UseVisualStyleBackColor = true;
//
@@ -248,7 +254,6 @@
this.rbversandoption2.Name = "rbversandoption2";
this.rbversandoption2.Size = new System.Drawing.Size(197, 17);
this.rbversandoption2.TabIndex = 1;
this.rbversandoption2.TabStop = true;
this.rbversandoption2.Text = "Hauptadresse, E-Banking erzwingen";
this.rbversandoption2.UseVisualStyleBackColor = true;
//
@@ -259,36 +264,30 @@
this.rbversandoption1.Name = "rbversandoption1";
this.rbversandoption1.Size = new System.Drawing.Size(166, 17);
this.rbversandoption1.TabIndex = 0;
this.rbversandoption1.TabStop = true;
this.rbversandoption1.Text = "Hauptadresse und Versandart";
this.rbversandoption1.UseVisualStyleBackColor = true;
//
// button1
// radioButton1
//
this.button1.Location = new System.Drawing.Point(6, 454);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 3;
this.button1.Text = "Speichern";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
this.radioButton1.AutoSize = true;
this.radioButton1.Location = new System.Drawing.Point(332, 52);
this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(56, 17);
this.radioButton1.TabIndex = 3;
this.radioButton1.Text = "A-Post";
this.radioButton1.UseVisualStyleBackColor = true;
//
// tsbtnDruckPaketNew
// radioButton2
//
this.tsbtnDruckPaketNew.Image = global::OnDoc.Properties.Resources.add_32x32_32;
this.tsbtnDruckPaketNew.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbtnDruckPaketNew.Name = "tsbtnDruckPaketNew";
this.tsbtnDruckPaketNew.Size = new System.Drawing.Size(123, 34);
this.tsbtnDruckPaketNew.Text = "Neues Druckpaket";
this.tsbtnDruckPaketNew.Click += new System.EventHandler(this.tsbtnDruckPaketNew_Click);
//
// tsbtnVersenden
//
this.tsbtnVersenden.Image = global::OnDoc.Properties.Resources.Letter_24x24_32;
this.tsbtnVersenden.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbtnVersenden.Name = "tsbtnVersenden";
this.tsbtnVersenden.Size = new System.Drawing.Size(244, 34);
this.tsbtnVersenden.Text = "Dokumente an Versandstrasse übergeben";
this.radioButton2.AutoSize = true;
this.radioButton2.Checked = true;
this.radioButton2.Location = new System.Drawing.Point(332, 29);
this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new System.Drawing.Size(56, 17);
this.radioButton2.TabIndex = 4;
this.radioButton2.TabStop = true;
this.radioButton2.Text = "B-Post";
this.radioButton2.UseVisualStyleBackColor = true;
//
// Versandstrasse
//
@@ -311,8 +310,6 @@
this.GrpPaketDetails.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
@@ -325,7 +322,6 @@
private System.Windows.Forms.ToolStripButton tsbtnDruckPaketNew;
private System.Windows.Forms.ToolStripButton tsbtnVersenden;
private System.Windows.Forms.GroupBox GrpPaketDetails;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.RadioButton rbversandoption3;
private System.Windows.Forms.RadioButton rbversandoption2;
@@ -334,7 +330,8 @@
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ListBox lbgasadresse;
private System.Windows.Forms.CheckBox chkGAS;
private System.Windows.Forms.TextBox txtnachrichtankunde;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radioButton1;
}
}

View File

@@ -234,8 +234,7 @@ namespace OnDoc.Versandstrasse
default:
break;
}
txtnachrichtankunde.Text = "";
txtnachrichtankunde.Text=paket.Mitteilung.ToString();
if (paket.GAS.ToString() == "1"){
chkGAS.Checked= true;
lbgasadresse.SelectedIndex = Convert.ToInt32(paket.GASAdresse.ToString());
@@ -250,7 +249,7 @@ namespace OnDoc.Versandstrasse
if (rbversandoption1.Checked) { paket.Versandoption = "1"; }
if (rbversandoption2.Checked) { paket.Versandoption = "2"; }
if (rbversandoption3.Checked) { paket.Versandoption = "3"; }
paket.Mitteilung = txtnachrichtankunde.Text;
if (chkGAS.Checked) { paket.GAS = "1"; } else { paket.GAS = "0"; }
try { paket.GASAdresse = lbgasadresse.SelectedIndex.ToString(); } catch { paket.GASAdresse= "0"; }
paket.verified = true;