AusschlagerScreen NOT DONE

This commit is contained in:
Kilian Wirl 2025-12-07 11:12:00 +01:00
parent f77b89f844
commit 888a80aaaf
7 changed files with 279 additions and 128 deletions

View File

@ -70,9 +70,14 @@
this.buttonWaschstrasse = new System.Windows.Forms.Button();
this.buttonEntladeband = new System.Windows.Forms.Button();
this.groupBoxFarben = new System.Windows.Forms.GroupBox();
this.label4 = new System.Windows.Forms.Label();
this.buttonAuftAbgel = new System.Windows.Forms.Button();
this.buttonAuftBald = new System.Windows.Forms.Button();
this.buttonAuftAbgel = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.comboBoxSWSDrucker = new System.Windows.Forms.ComboBox();
this.comboBoxEtikettDrucker = new System.Windows.Forms.ComboBox();
((System.ComponentModel.ISupportInitialize)(this.numUpDownMinWert)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numUpDownMaxWert)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numUpDownAnzahl)).BeginInit();
@ -89,9 +94,10 @@
this.buttonVarKost.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonVarKost.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonVarKost.ForeColor = System.Drawing.Color.White;
this.buttonVarKost.Location = new System.Drawing.Point(12, 53);
this.buttonVarKost.Location = new System.Drawing.Point(9, 43);
this.buttonVarKost.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonVarKost.Name = "buttonVarKost";
this.buttonVarKost.Size = new System.Drawing.Size(214, 30);
this.buttonVarKost.Size = new System.Drawing.Size(160, 24);
this.buttonVarKost.TabIndex = 0;
this.buttonVarKost.Text = "Variable Kosten";
this.buttonVarKost.UseVisualStyleBackColor = false;
@ -100,9 +106,10 @@
// textBoxVarKosten
//
this.textBoxVarKosten.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxVarKosten.Location = new System.Drawing.Point(268, 53);
this.textBoxVarKosten.Location = new System.Drawing.Point(201, 43);
this.textBoxVarKosten.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.textBoxVarKosten.Name = "textBoxVarKosten";
this.textBoxVarKosten.Size = new System.Drawing.Size(310, 30);
this.textBoxVarKosten.Size = new System.Drawing.Size(234, 26);
this.textBoxVarKosten.TabIndex = 1;
this.textBoxVarKosten.Visible = false;
//
@ -112,9 +119,10 @@
this.buttonVarSpeichern.FlatAppearance.BorderSize = 0;
this.buttonVarSpeichern.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonVarSpeichern.Image = ((System.Drawing.Image)(resources.GetObject("buttonVarSpeichern.Image")));
this.buttonVarSpeichern.Location = new System.Drawing.Point(232, 53);
this.buttonVarSpeichern.Location = new System.Drawing.Point(174, 43);
this.buttonVarSpeichern.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonVarSpeichern.Name = "buttonVarSpeichern";
this.buttonVarSpeichern.Size = new System.Drawing.Size(30, 30);
this.buttonVarSpeichern.Size = new System.Drawing.Size(22, 24);
this.buttonVarSpeichern.TabIndex = 2;
this.buttonVarSpeichern.UseVisualStyleBackColor = false;
this.buttonVarSpeichern.Visible = false;
@ -126,9 +134,10 @@
this.buttonFixLohnSpeichern.FlatAppearance.BorderSize = 0;
this.buttonFixLohnSpeichern.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonFixLohnSpeichern.Image = ((System.Drawing.Image)(resources.GetObject("buttonFixLohnSpeichern.Image")));
this.buttonFixLohnSpeichern.Location = new System.Drawing.Point(232, 89);
this.buttonFixLohnSpeichern.Location = new System.Drawing.Point(174, 72);
this.buttonFixLohnSpeichern.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonFixLohnSpeichern.Name = "buttonFixLohnSpeichern";
this.buttonFixLohnSpeichern.Size = new System.Drawing.Size(30, 30);
this.buttonFixLohnSpeichern.Size = new System.Drawing.Size(22, 24);
this.buttonFixLohnSpeichern.TabIndex = 5;
this.buttonFixLohnSpeichern.UseVisualStyleBackColor = false;
this.buttonFixLohnSpeichern.Visible = false;
@ -137,9 +146,10 @@
// textBoxFixLohnKosten
//
this.textBoxFixLohnKosten.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxFixLohnKosten.Location = new System.Drawing.Point(268, 89);
this.textBoxFixLohnKosten.Location = new System.Drawing.Point(201, 72);
this.textBoxFixLohnKosten.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.textBoxFixLohnKosten.Name = "textBoxFixLohnKosten";
this.textBoxFixLohnKosten.Size = new System.Drawing.Size(310, 30);
this.textBoxFixLohnKosten.Size = new System.Drawing.Size(234, 26);
this.textBoxFixLohnKosten.TabIndex = 4;
this.textBoxFixLohnKosten.Visible = false;
//
@ -152,9 +162,10 @@
this.buttonFixLohnKosten.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonFixLohnKosten.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonFixLohnKosten.ForeColor = System.Drawing.Color.White;
this.buttonFixLohnKosten.Location = new System.Drawing.Point(12, 89);
this.buttonFixLohnKosten.Location = new System.Drawing.Point(9, 72);
this.buttonFixLohnKosten.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonFixLohnKosten.Name = "buttonFixLohnKosten";
this.buttonFixLohnKosten.Size = new System.Drawing.Size(214, 30);
this.buttonFixLohnKosten.Size = new System.Drawing.Size(160, 24);
this.buttonFixLohnKosten.TabIndex = 3;
this.buttonFixLohnKosten.Text = "Fix Lohn Kosten";
this.buttonFixLohnKosten.UseVisualStyleBackColor = false;
@ -166,9 +177,10 @@
this.buttonFixMietSpeichern.FlatAppearance.BorderSize = 0;
this.buttonFixMietSpeichern.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonFixMietSpeichern.Image = ((System.Drawing.Image)(resources.GetObject("buttonFixMietSpeichern.Image")));
this.buttonFixMietSpeichern.Location = new System.Drawing.Point(232, 125);
this.buttonFixMietSpeichern.Location = new System.Drawing.Point(174, 102);
this.buttonFixMietSpeichern.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonFixMietSpeichern.Name = "buttonFixMietSpeichern";
this.buttonFixMietSpeichern.Size = new System.Drawing.Size(30, 30);
this.buttonFixMietSpeichern.Size = new System.Drawing.Size(22, 24);
this.buttonFixMietSpeichern.TabIndex = 8;
this.buttonFixMietSpeichern.UseVisualStyleBackColor = false;
this.buttonFixMietSpeichern.Visible = false;
@ -177,9 +189,10 @@
// textBoxFixMietKosten
//
this.textBoxFixMietKosten.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxFixMietKosten.Location = new System.Drawing.Point(268, 125);
this.textBoxFixMietKosten.Location = new System.Drawing.Point(201, 102);
this.textBoxFixMietKosten.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.textBoxFixMietKosten.Name = "textBoxFixMietKosten";
this.textBoxFixMietKosten.Size = new System.Drawing.Size(310, 30);
this.textBoxFixMietKosten.Size = new System.Drawing.Size(234, 26);
this.textBoxFixMietKosten.TabIndex = 7;
this.textBoxFixMietKosten.Visible = false;
//
@ -192,9 +205,10 @@
this.buttonFixMietKosten.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonFixMietKosten.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonFixMietKosten.ForeColor = System.Drawing.Color.White;
this.buttonFixMietKosten.Location = new System.Drawing.Point(12, 125);
this.buttonFixMietKosten.Location = new System.Drawing.Point(9, 102);
this.buttonFixMietKosten.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonFixMietKosten.Name = "buttonFixMietKosten";
this.buttonFixMietKosten.Size = new System.Drawing.Size(214, 30);
this.buttonFixMietKosten.Size = new System.Drawing.Size(160, 24);
this.buttonFixMietKosten.TabIndex = 6;
this.buttonFixMietKosten.Text = "Fix Miet Kosten";
this.buttonFixMietKosten.UseVisualStyleBackColor = false;
@ -209,9 +223,10 @@
this.buttonColNeg.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonColNeg.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonColNeg.ForeColor = System.Drawing.Color.White;
this.buttonColNeg.Location = new System.Drawing.Point(6, 43);
this.buttonColNeg.Location = new System.Drawing.Point(4, 35);
this.buttonColNeg.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonColNeg.Name = "buttonColNeg";
this.buttonColNeg.Size = new System.Drawing.Size(214, 50);
this.buttonColNeg.Size = new System.Drawing.Size(160, 41);
this.buttonColNeg.TabIndex = 9;
this.buttonColNeg.Text = "Farbe Negativsumme";
this.buttonColNeg.UseVisualStyleBackColor = false;
@ -226,9 +241,10 @@
this.buttonColPos.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonColPos.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonColPos.ForeColor = System.Drawing.Color.White;
this.buttonColPos.Location = new System.Drawing.Point(226, 43);
this.buttonColPos.Location = new System.Drawing.Point(170, 35);
this.buttonColPos.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonColPos.Name = "buttonColPos";
this.buttonColPos.Size = new System.Drawing.Size(214, 50);
this.buttonColPos.Size = new System.Drawing.Size(160, 41);
this.buttonColPos.TabIndex = 10;
this.buttonColPos.Text = "Farbe Positivsumme";
this.buttonColPos.UseVisualStyleBackColor = false;
@ -243,9 +259,10 @@
this.buttonColEqu.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonColEqu.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonColEqu.ForeColor = System.Drawing.Color.White;
this.buttonColEqu.Location = new System.Drawing.Point(446, 43);
this.buttonColEqu.Location = new System.Drawing.Point(334, 35);
this.buttonColEqu.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonColEqu.Name = "buttonColEqu";
this.buttonColEqu.Size = new System.Drawing.Size(214, 50);
this.buttonColEqu.Size = new System.Drawing.Size(160, 41);
this.buttonColEqu.TabIndex = 11;
this.buttonColEqu.Text = "Farbe Nullsumme";
this.buttonColEqu.UseVisualStyleBackColor = false;
@ -255,9 +272,10 @@
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(6, 9);
this.label2.Location = new System.Drawing.Point(4, 7);
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(363, 32);
this.label2.Size = new System.Drawing.Size(286, 26);
this.label2.TabIndex = 13;
this.label2.Text = "Konto Nr. für Kostenstelle";
//
@ -265,9 +283,10 @@
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(6, 404);
this.label3.Location = new System.Drawing.Point(4, 328);
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(103, 32);
this.label3.Size = new System.Drawing.Size(81, 26);
this.label3.TabIndex = 14;
this.label3.Text = "Rating";
//
@ -281,14 +300,15 @@
0,
0,
0});
this.numUpDownMinWert.Location = new System.Drawing.Point(12, 477);
this.numUpDownMinWert.Location = new System.Drawing.Point(9, 388);
this.numUpDownMinWert.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.numUpDownMinWert.Maximum = new decimal(new int[] {
1000000,
0,
0,
0});
this.numUpDownMinWert.Name = "numUpDownMinWert";
this.numUpDownMinWert.Size = new System.Drawing.Size(150, 30);
this.numUpDownMinWert.Size = new System.Drawing.Size(112, 26);
this.numUpDownMinWert.TabIndex = 15;
this.numUpDownMinWert.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.numUpDownMinWert.ThousandsSeparator = true;
@ -303,14 +323,15 @@
0,
0,
0});
this.numUpDownMaxWert.Location = new System.Drawing.Point(168, 477);
this.numUpDownMaxWert.Location = new System.Drawing.Point(126, 388);
this.numUpDownMaxWert.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.numUpDownMaxWert.Maximum = new decimal(new int[] {
1000000,
0,
0,
0});
this.numUpDownMaxWert.Name = "numUpDownMaxWert";
this.numUpDownMaxWert.Size = new System.Drawing.Size(150, 30);
this.numUpDownMaxWert.Size = new System.Drawing.Size(112, 26);
this.numUpDownMaxWert.TabIndex = 16;
this.numUpDownMaxWert.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.numUpDownMaxWert.ThousandsSeparator = true;
@ -318,14 +339,15 @@
// numUpDownAnzahl
//
this.numUpDownAnzahl.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numUpDownAnzahl.Location = new System.Drawing.Point(324, 477);
this.numUpDownAnzahl.Location = new System.Drawing.Point(243, 388);
this.numUpDownAnzahl.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.numUpDownAnzahl.Maximum = new decimal(new int[] {
20,
0,
0,
0});
this.numUpDownAnzahl.Name = "numUpDownAnzahl";
this.numUpDownAnzahl.Size = new System.Drawing.Size(97, 30);
this.numUpDownAnzahl.Size = new System.Drawing.Size(73, 26);
this.numUpDownAnzahl.TabIndex = 17;
this.numUpDownAnzahl.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
@ -333,9 +355,10 @@
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label6.Location = new System.Drawing.Point(320, 454);
this.label6.Location = new System.Drawing.Point(240, 369);
this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(60, 20);
this.label6.Size = new System.Drawing.Size(51, 17);
this.label6.TabIndex = 20;
this.label6.Text = "Anzahl";
//
@ -343,9 +366,10 @@
//
this.checkBoxMinWert.AutoSize = true;
this.checkBoxMinWert.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.checkBoxMinWert.Location = new System.Drawing.Point(12, 450);
this.checkBoxMinWert.Location = new System.Drawing.Point(9, 366);
this.checkBoxMinWert.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.checkBoxMinWert.Name = "checkBoxMinWert";
this.checkBoxMinWert.Size = new System.Drawing.Size(103, 24);
this.checkBoxMinWert.Size = new System.Drawing.Size(87, 21);
this.checkBoxMinWert.TabIndex = 21;
this.checkBoxMinWert.Text = "Min. Wert";
this.checkBoxMinWert.UseVisualStyleBackColor = true;
@ -355,9 +379,10 @@
//
this.checkBoxMaxWert.AutoSize = true;
this.checkBoxMaxWert.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.checkBoxMaxWert.Location = new System.Drawing.Point(168, 450);
this.checkBoxMaxWert.Location = new System.Drawing.Point(126, 366);
this.checkBoxMaxWert.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.checkBoxMaxWert.Name = "checkBoxMaxWert";
this.checkBoxMaxWert.Size = new System.Drawing.Size(107, 24);
this.checkBoxMaxWert.Size = new System.Drawing.Size(90, 21);
this.checkBoxMaxWert.TabIndex = 22;
this.checkBoxMaxWert.Text = "Max. Wert";
this.checkBoxMaxWert.UseVisualStyleBackColor = true;
@ -366,9 +391,10 @@
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(115, 417);
this.label5.Location = new System.Drawing.Point(86, 339);
this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(231, 16);
this.label5.Size = new System.Drawing.Size(185, 13);
this.label5.TabIndex = 24;
this.label5.Text = "Regelt die Sterneverteilung im Rating.";
//
@ -378,9 +404,11 @@
this.groupBox1.Controls.Add(this.label9);
this.groupBox1.Controls.Add(this.label8);
this.groupBox1.Controls.Add(this.label7);
this.groupBox1.Location = new System.Drawing.Point(452, 404);
this.groupBox1.Location = new System.Drawing.Point(339, 328);
this.groupBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(440, 103);
this.groupBox1.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupBox1.Size = new System.Drawing.Size(330, 84);
this.groupBox1.TabIndex = 25;
this.groupBox1.TabStop = false;
//
@ -388,45 +416,50 @@
//
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label10.Location = new System.Drawing.Point(6, 80);
this.label10.Location = new System.Drawing.Point(4, 65);
this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(390, 16);
this.label10.Size = new System.Drawing.Size(331, 13);
this.label10.TabIndex = 3;
this.label10.Text = "Wenn nicht angehackt wird Wert automatisch berechnet.";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(6, 60);
this.label9.Location = new System.Drawing.Point(4, 49);
this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(288, 16);
this.label9.Size = new System.Drawing.Size(233, 13);
this.label9.TabIndex = 2;
this.label9.Text = "-> Anzahl: Maximal mögliche Anzahl an Sternen.";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(6, 40);
this.label8.Location = new System.Drawing.Point(4, 32);
this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(404, 16);
this.label8.Size = new System.Drawing.Size(329, 13);
this.label8.TabIndex = 1;
this.label8.Text = "-> Max.Wert: Alle Werte darüber werden mit Max. Sternen versehen.";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(6, 20);
this.label7.Location = new System.Drawing.Point(4, 16);
this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(373, 16);
this.label7.Size = new System.Drawing.Size(306, 13);
this.label7.TabIndex = 0;
this.label7.Text = "-> Min.Wert: Alle Wert darunter werden mit 0 Sternen versehen.";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(375, 22);
this.label11.Location = new System.Drawing.Point(301, 18);
this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(335, 16);
this.label11.Size = new System.Drawing.Size(275, 13);
this.label11.TabIndex = 26;
this.label11.Text = "KontoNr. zu einer Kostenstelle für den Import hinzufügen.";
//
@ -434,18 +467,20 @@
//
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label12.Location = new System.Drawing.Point(6, 521);
this.label12.Location = new System.Drawing.Point(4, 423);
this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(231, 32);
this.label12.Size = new System.Drawing.Size(182, 26);
this.label12.TabIndex = 27;
this.label12.Text = "DokumentPfade";
//
// textBoxSortiment
//
this.textBoxSortiment.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxSortiment.Location = new System.Drawing.Point(232, 567);
this.textBoxSortiment.Location = new System.Drawing.Point(174, 461);
this.textBoxSortiment.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.textBoxSortiment.Name = "textBoxSortiment";
this.textBoxSortiment.Size = new System.Drawing.Size(561, 30);
this.textBoxSortiment.Size = new System.Drawing.Size(422, 26);
this.textBoxSortiment.TabIndex = 28;
this.textBoxSortiment.Visible = false;
this.textBoxSortiment.TextChanged += new System.EventHandler(this.TextBox_TextChanged);
@ -455,9 +490,10 @@
// textBoxRatingbild
//
this.textBoxRatingbild.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxRatingbild.Location = new System.Drawing.Point(232, 603);
this.textBoxRatingbild.Location = new System.Drawing.Point(174, 490);
this.textBoxRatingbild.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.textBoxRatingbild.Name = "textBoxRatingbild";
this.textBoxRatingbild.Size = new System.Drawing.Size(561, 30);
this.textBoxRatingbild.Size = new System.Drawing.Size(422, 26);
this.textBoxRatingbild.TabIndex = 30;
this.textBoxRatingbild.Visible = false;
this.textBoxRatingbild.TextChanged += new System.EventHandler(this.TextBox_TextChanged);
@ -473,9 +509,10 @@
this.buttonSortiment.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonSortiment.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonSortiment.ForeColor = System.Drawing.Color.White;
this.buttonSortiment.Location = new System.Drawing.Point(12, 567);
this.buttonSortiment.Location = new System.Drawing.Point(9, 461);
this.buttonSortiment.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonSortiment.Name = "buttonSortiment";
this.buttonSortiment.Size = new System.Drawing.Size(214, 30);
this.buttonSortiment.Size = new System.Drawing.Size(160, 24);
this.buttonSortiment.TabIndex = 32;
this.buttonSortiment.Text = "Sortiment";
this.buttonSortiment.UseVisualStyleBackColor = false;
@ -490,9 +527,10 @@
this.buttonRatingbild.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonRatingbild.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonRatingbild.ForeColor = System.Drawing.Color.White;
this.buttonRatingbild.Location = new System.Drawing.Point(12, 603);
this.buttonRatingbild.Location = new System.Drawing.Point(9, 490);
this.buttonRatingbild.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonRatingbild.Name = "buttonRatingbild";
this.buttonRatingbild.Size = new System.Drawing.Size(214, 30);
this.buttonRatingbild.Size = new System.Drawing.Size(160, 24);
this.buttonRatingbild.TabIndex = 33;
this.buttonRatingbild.Text = "Ratingbild";
this.buttonRatingbild.UseVisualStyleBackColor = false;
@ -508,9 +546,10 @@
this.buttonSpeichern.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonSpeichern.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonSpeichern.ForeColor = System.Drawing.Color.White;
this.buttonSpeichern.Location = new System.Drawing.Point(12, 702);
this.buttonSpeichern.Location = new System.Drawing.Point(9, 639);
this.buttonSpeichern.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonSpeichern.Name = "buttonSpeichern";
this.buttonSpeichern.Size = new System.Drawing.Size(214, 35);
this.buttonSpeichern.Size = new System.Drawing.Size(160, 28);
this.buttonSpeichern.TabIndex = 34;
this.buttonSpeichern.Text = "Speichern";
this.buttonSpeichern.UseVisualStyleBackColor = false;
@ -527,9 +566,10 @@
this.buttonAbbrechen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonAbbrechen.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonAbbrechen.ForeColor = System.Drawing.Color.White;
this.buttonAbbrechen.Location = new System.Drawing.Point(232, 702);
this.buttonAbbrechen.Location = new System.Drawing.Point(174, 639);
this.buttonAbbrechen.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonAbbrechen.Name = "buttonAbbrechen";
this.buttonAbbrechen.Size = new System.Drawing.Size(214, 35);
this.buttonAbbrechen.Size = new System.Drawing.Size(160, 28);
this.buttonAbbrechen.TabIndex = 35;
this.buttonAbbrechen.Text = "Abbrechen";
this.buttonAbbrechen.UseVisualStyleBackColor = false;
@ -544,9 +584,10 @@
this.buttonBeladeband.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonBeladeband.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonBeladeband.ForeColor = System.Drawing.Color.White;
this.buttonBeladeband.Location = new System.Drawing.Point(6, 99);
this.buttonBeladeband.Location = new System.Drawing.Point(4, 80);
this.buttonBeladeband.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonBeladeband.Name = "buttonBeladeband";
this.buttonBeladeband.Size = new System.Drawing.Size(214, 50);
this.buttonBeladeband.Size = new System.Drawing.Size(160, 41);
this.buttonBeladeband.TabIndex = 36;
this.buttonBeladeband.Text = "Farbe Beladeband";
this.buttonBeladeband.UseVisualStyleBackColor = false;
@ -561,9 +602,10 @@
this.buttonTrockner.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonTrockner.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonTrockner.ForeColor = System.Drawing.Color.White;
this.buttonTrockner.Location = new System.Drawing.Point(886, 99);
this.buttonTrockner.Location = new System.Drawing.Point(664, 80);
this.buttonTrockner.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonTrockner.Name = "buttonTrockner";
this.buttonTrockner.Size = new System.Drawing.Size(214, 50);
this.buttonTrockner.Size = new System.Drawing.Size(160, 41);
this.buttonTrockner.TabIndex = 37;
this.buttonTrockner.Text = "Farbe Trockner";
this.buttonTrockner.UseVisualStyleBackColor = false;
@ -578,9 +620,10 @@
this.buttonHubband.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonHubband.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonHubband.ForeColor = System.Drawing.Color.White;
this.buttonHubband.Location = new System.Drawing.Point(666, 99);
this.buttonHubband.Location = new System.Drawing.Point(500, 80);
this.buttonHubband.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonHubband.Name = "buttonHubband";
this.buttonHubband.Size = new System.Drawing.Size(214, 50);
this.buttonHubband.Size = new System.Drawing.Size(160, 41);
this.buttonHubband.TabIndex = 38;
this.buttonHubband.Text = "Farbe Hubband";
this.buttonHubband.UseVisualStyleBackColor = false;
@ -595,9 +638,10 @@
this.buttonPresse.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonPresse.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonPresse.ForeColor = System.Drawing.Color.White;
this.buttonPresse.Location = new System.Drawing.Point(446, 99);
this.buttonPresse.Location = new System.Drawing.Point(334, 80);
this.buttonPresse.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonPresse.Name = "buttonPresse";
this.buttonPresse.Size = new System.Drawing.Size(214, 50);
this.buttonPresse.Size = new System.Drawing.Size(160, 41);
this.buttonPresse.TabIndex = 39;
this.buttonPresse.Text = "Farbe Presse";
this.buttonPresse.UseVisualStyleBackColor = false;
@ -612,9 +656,10 @@
this.buttonWaschstrasse.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonWaschstrasse.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonWaschstrasse.ForeColor = System.Drawing.Color.White;
this.buttonWaschstrasse.Location = new System.Drawing.Point(226, 99);
this.buttonWaschstrasse.Location = new System.Drawing.Point(170, 80);
this.buttonWaschstrasse.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonWaschstrasse.Name = "buttonWaschstrasse";
this.buttonWaschstrasse.Size = new System.Drawing.Size(214, 50);
this.buttonWaschstrasse.Size = new System.Drawing.Size(160, 41);
this.buttonWaschstrasse.TabIndex = 40;
this.buttonWaschstrasse.Text = "Farbe Waschstrasse";
this.buttonWaschstrasse.UseVisualStyleBackColor = false;
@ -629,9 +674,10 @@
this.buttonEntladeband.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonEntladeband.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonEntladeband.ForeColor = System.Drawing.Color.White;
this.buttonEntladeband.Location = new System.Drawing.Point(1106, 99);
this.buttonEntladeband.Location = new System.Drawing.Point(830, 80);
this.buttonEntladeband.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonEntladeband.Name = "buttonEntladeband";
this.buttonEntladeband.Size = new System.Drawing.Size(214, 50);
this.buttonEntladeband.Size = new System.Drawing.Size(160, 41);
this.buttonEntladeband.TabIndex = 41;
this.buttonEntladeband.Text = "Farbe Entladeband";
this.buttonEntladeband.UseVisualStyleBackColor = false;
@ -652,40 +698,15 @@
this.groupBoxFarben.Controls.Add(this.buttonHubband);
this.groupBoxFarben.Controls.Add(this.buttonTrockner);
this.groupBoxFarben.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.groupBoxFarben.Location = new System.Drawing.Point(12, 161);
this.groupBoxFarben.Location = new System.Drawing.Point(9, 131);
this.groupBoxFarben.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupBoxFarben.Name = "groupBoxFarben";
this.groupBoxFarben.Size = new System.Drawing.Size(1391, 217);
this.groupBoxFarben.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupBoxFarben.Size = new System.Drawing.Size(1043, 176);
this.groupBoxFarben.TabIndex = 42;
this.groupBoxFarben.TabStop = false;
this.groupBoxFarben.Text = "Farben";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(666, 60);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(255, 16);
this.label4.TabIndex = 23;
this.label4.Text = "Gibt an welche Farben verwendet werden.";
//
// buttonAuftAbgel
//
this.buttonAuftAbgel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.buttonAuftAbgel.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.buttonAuftAbgel.FlatAppearance.BorderSize = 10;
this.buttonAuftAbgel.FlatAppearance.MouseDownBackColor = System.Drawing.Color.LightSteelBlue;
this.buttonAuftAbgel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonAuftAbgel.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonAuftAbgel.ForeColor = System.Drawing.Color.White;
this.buttonAuftAbgel.Location = new System.Drawing.Point(6, 155);
this.buttonAuftAbgel.Name = "buttonAuftAbgel";
this.buttonAuftAbgel.Size = new System.Drawing.Size(214, 50);
this.buttonAuftAbgel.TabIndex = 42;
this.buttonAuftAbgel.Text = "Farbe Auftrag zu spät";
this.buttonAuftAbgel.UseVisualStyleBackColor = false;
this.buttonAuftAbgel.Click += new System.EventHandler(this.Color_button_Click);
//
// buttonAuftBald
//
this.buttonAuftBald.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
@ -695,19 +716,101 @@
this.buttonAuftBald.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonAuftBald.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonAuftBald.ForeColor = System.Drawing.Color.White;
this.buttonAuftBald.Location = new System.Drawing.Point(226, 155);
this.buttonAuftBald.Location = new System.Drawing.Point(170, 126);
this.buttonAuftBald.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonAuftBald.Name = "buttonAuftBald";
this.buttonAuftBald.Size = new System.Drawing.Size(214, 50);
this.buttonAuftBald.Size = new System.Drawing.Size(160, 41);
this.buttonAuftBald.TabIndex = 43;
this.buttonAuftBald.Text = "Farbe Auftrag bald";
this.buttonAuftBald.UseVisualStyleBackColor = false;
this.buttonAuftBald.Click += new System.EventHandler(this.Color_button_Click);
//
// buttonAuftAbgel
//
this.buttonAuftAbgel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.buttonAuftAbgel.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.buttonAuftAbgel.FlatAppearance.BorderSize = 10;
this.buttonAuftAbgel.FlatAppearance.MouseDownBackColor = System.Drawing.Color.LightSteelBlue;
this.buttonAuftAbgel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonAuftAbgel.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonAuftAbgel.ForeColor = System.Drawing.Color.White;
this.buttonAuftAbgel.Location = new System.Drawing.Point(4, 126);
this.buttonAuftAbgel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.buttonAuftAbgel.Name = "buttonAuftAbgel";
this.buttonAuftAbgel.Size = new System.Drawing.Size(160, 41);
this.buttonAuftAbgel.TabIndex = 42;
this.buttonAuftAbgel.Text = "Farbe Auftrag zu spät";
this.buttonAuftAbgel.UseVisualStyleBackColor = false;
this.buttonAuftAbgel.Click += new System.EventHandler(this.Color_button_Click);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(500, 49);
this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(208, 13);
this.label4.TabIndex = 23;
this.label4.Text = "Gibt an welche Farben verwendet werden.";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(4, 535);
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(192, 26);
this.label1.TabIndex = 43;
this.label1.Text = "Standart Drucker";
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(6, 572);
this.label13.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(73, 13);
this.label13.TabIndex = 44;
this.label13.Text = "SWS-Drucker";
//
// label14
//
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(6, 598);
this.label14.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(78, 13);
this.label14.TabIndex = 45;
this.label14.Text = "Etikett-Drucker";
//
// comboBoxSWSDrucker
//
this.comboBoxSWSDrucker.FormattingEnabled = true;
this.comboBoxSWSDrucker.Location = new System.Drawing.Point(95, 564);
this.comboBoxSWSDrucker.Name = "comboBoxSWSDrucker";
this.comboBoxSWSDrucker.Size = new System.Drawing.Size(121, 21);
this.comboBoxSWSDrucker.TabIndex = 46;
//
// comboBoxEtikettDrucker
//
this.comboBoxEtikettDrucker.FormattingEnabled = true;
this.comboBoxEtikettDrucker.Location = new System.Drawing.Point(95, 595);
this.comboBoxEtikettDrucker.Name = "comboBoxEtikettDrucker";
this.comboBoxEtikettDrucker.Size = new System.Drawing.Size(121, 21);
this.comboBoxEtikettDrucker.TabIndex = 47;
//
// FormEinstellung
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1589, 749);
this.ClientSize = new System.Drawing.Size(1192, 678);
this.Controls.Add(this.comboBoxEtikettDrucker);
this.Controls.Add(this.comboBoxSWSDrucker);
this.Controls.Add(this.label14);
this.Controls.Add(this.label13);
this.Controls.Add(this.label1);
this.Controls.Add(this.buttonAbbrechen);
this.Controls.Add(this.buttonSpeichern);
this.Controls.Add(this.buttonRatingbild);
@ -737,6 +840,7 @@
this.Controls.Add(this.buttonVarKost);
this.Controls.Add(this.groupBoxFarben);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "FormEinstellung";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Einstellung";
@ -799,5 +903,10 @@
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button buttonAuftBald;
private System.Windows.Forms.Button buttonAuftAbgel;
}
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.ComboBox comboBoxSWSDrucker;
private System.Windows.Forms.ComboBox comboBoxEtikettDrucker;
}
}

View File

@ -5,6 +5,7 @@ using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -54,6 +55,9 @@ namespace Deckungsbeitrag
btn.FlatAppearance.BorderColor = (Color)Settings.Default[btn.Name.Substring(6)];
}
}
this.comboBoxEtikettDrucker.DataSource = this.comboBoxSWSDrucker.DataSource = PrinterSettings.InstalledPrinters;
this.comboBoxEtikettDrucker.SelectedIndex = this.comboBoxSWSDrucker.SelectedIndex = -1;
}
private void Save_Settings()
{
@ -74,7 +78,9 @@ namespace Deckungsbeitrag
if (this.checkBoxMinWert.Checked) Settings.Default.MinChecked = this.checkBoxMinWert.Checked;
if (this.numUpDownMinWert.Enabled) Settings.Default.RatMin = (double)this.numUpDownMinWert.Value;
if (this.numUpDownMaxWert.Enabled) Settings.Default.RatMax = (double)this.numUpDownMaxWert.Value;
if (this.comboBoxEtikettDrucker.SelectedIndex > -1) Settings.Default.Etikett_Drucker = this.comboBoxEtikettDrucker.SelectedText;
if (this.comboBoxSWSDrucker.SelectedIndex > -1) Settings.Default.Etikett_Drucker = this.comboBoxEtikettDrucker.SelectedText;
Settings.Default.ZAnzahl = (int)this.numUpDownAnzahl.Value;
Settings.Default.Save();

View File

@ -121,25 +121,25 @@
<data name="buttonVarSpeichern.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAAHhJREFUOE9j+PbtWzgQvwHi/yRikJ5wkAFvtAvW/GcInkMSBukB6QUZgFUBMRis
F9mAD+8/EoWHswGk4kFqADY/I2NktbQ1AJ2PLg7CMAPuFM8/hqEBnY8uDsIwA2SQDUFXiKwZWRyEwQaA
AMwQkABIEYgmDn/7DwBpTOrUXkrGYgAAAABJRU5ErkJggg==
vAAADrwBlbxySQAAAG5JREFUOE9j+PbtW/i3b9/efPv27T+JGKQnnAHE0C5Y858heA5JGKQHpBdkAIYk
sRisF9mAD+8/EoWHswGk4kFqALp/0TH9DEDno4sjG3CneP4xDA3ofHRxZANkkA1BV0jQABCAGQISACkC
0cRiAGlM6tRr9T1CAAAAAElFTkSuQmCC
</value>
</data>
<data name="buttonFixLohnSpeichern.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAAHhJREFUOE9j+PbtWzgQvwHi/yRikJ5wkAFvtAvW/GcInkMSBukB6QUZgFUBMRis
F9mAD+8/EoWHswGk4kFqADY/I2NktbQ1AJ2PLg7CMAPuFM8/hqEBnY8uDsIwA2SQDUFXiKwZWRyEwQaA
AMwQkABIEYgmDn/7DwBpTOrUXkrGYgAAAABJRU5ErkJggg==
vAAADrwBlbxySQAAAG5JREFUOE9j+PbtW/i3b9/efPv27T+JGKQnnAHE0C5Y858heA5JGKQHpBdkAIYk
sRisF9mAD+8/EoWHswGk4kFqALp/0TH9DEDno4sjG3CneP4xDA3ofHRxZANkkA1BV0jQABCAGQISACkC
0cRiAGlM6tRr9T1CAAAAAElFTkSuQmCC
</value>
</data>
<data name="buttonFixMietSpeichern.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
vAAADrwBlbxySQAAAHhJREFUOE9j+PbtWzgQvwHi/yRikJ5wkAFvtAvW/GcInkMSBukB6QUZgFUBMRis
F9mAD+8/EoWHswGk4kFqADY/I2NktbQ1AJ2PLg7CMAPuFM8/hqEBnY8uDsIwA2SQDUFXiKwZWRyEwQaA
AMwQkABIEYgmDn/7DwBpTOrUXkrGYgAAAABJRU5ErkJggg==
vAAADrwBlbxySQAAAG5JREFUOE9j+PbtW/i3b9/efPv27T+JGKQnnAHE0C5Y858heA5JGKQHpBdkAIYk
sRisF9mAD+8/EoWHswGk4kFqALp/0TH9DEDno4sjG3CneP4xDA3ofHRxZANkkA1BV0jQABCAGQISACkC
0cRiAGlM6tRr9T1CAAAAAElFTkSuQmCC
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -709,7 +709,7 @@ namespace Deckungsbeitrag
if (adresse != null) _adresse = adresse;
PrintDialog dialog = new PrintDialog();
foreach (string printer in PrinterSettings.InstalledPrinters) if (printer.Contains(ConfigurationManager.AppSettings["PrinterName"])) dialog.PrinterSettings.PrinterName = printer;
foreach (string printer in PrinterSettings.InstalledPrinters) if (printer.Contains(Properties.Settings.Default.SWS_Drucker)) dialog.PrinterSettings.PrinterName = printer;
@ -782,7 +782,7 @@ namespace Deckungsbeitrag
PrintPreviewDialog preview = new PrintPreviewDialog();
PrintDocument printDocument = new PrintDocument();
foreach (string printer in PrinterSettings.InstalledPrinters) if (printer.Contains(ConfigurationManager.AppSettings["PrinterName"])) dialog.PrinterSettings.PrinterName = printer;
foreach (string printer in PrinterSettings.InstalledPrinters) if (printer.Contains(Properties.Settings.Default.Etikett_Drucker)) dialog.PrinterSettings.PrinterName = printer;
dialog.PrinterSettings.Copies = (short)auftrag.ContainerClean;
if (dialog.ShowDialog() == DialogResult.OK)

View File

@ -145,6 +145,12 @@
<setting name="Location_ButtonNeuerAuftrag_Main" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="Etikett_Drucker" serializeAs="String">
<value>QL-500</value>
</setting>
<setting name="SWS_Drucker" serializeAs="String">
<value>MFC-7440</value>
</setting>
</Deckungsbeitrag.Properties.Settings>
</userSettings>
<system.web>

View File

@ -266,5 +266,29 @@ namespace Deckungsbeitrag.Properties {
this["Location_ButtonNeuerAuftrag_Main"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("QL-500")]
public string Etikett_Drucker {
get {
return ((string)(this["Etikett_Drucker"]));
}
set {
this["Etikett_Drucker"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("MFC-7440")]
public string SWS_Drucker {
get {
return ((string)(this["SWS_Drucker"]));
}
set {
this["SWS_Drucker"] = value;
}
}
}
}

View File

@ -65,5 +65,11 @@
<Setting Name="Location_ButtonNeuerAuftrag_Main" Type="System.Drawing.Point" Scope="User">
<Value Profile="(Default)">0, 0</Value>
</Setting>
<Setting Name="Etikett_Drucker" Type="System.String" Scope="User">
<Value Profile="(Default)">QL-500</Value>
</Setting>
<Setting Name="SWS_Drucker" Type="System.String" Scope="User">
<Value Profile="(Default)">MFC-7440</Value>
</Setting>
</Settings>
</SettingsFile>