diff --git a/AA-Forms/CustomInputBox.Designer.cs b/AA-Forms/CustomInputBox.Designer.cs
index df81781..7efaba2 100644
--- a/AA-Forms/CustomInputBox.Designer.cs
+++ b/AA-Forms/CustomInputBox.Designer.cs
@@ -28,11 +28,18 @@
///
private void InitializeComponent()
{
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomInputBox));
this.textBoxText = new System.Windows.Forms.TextBox();
this.labelFrage = new System.Windows.Forms.Label();
this.labelEingabe = new System.Windows.Forms.Label();
this.buttonAbbrechen = new System.Windows.Forms.Button();
this.buttonOK = new System.Windows.Forms.Button();
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
+ this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+ this.tableLayoutPanel1.SuspendLayout();
+ this.tableLayoutPanel2.SuspendLayout();
+ this.flowLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// textBoxText
@@ -40,10 +47,10 @@
this.textBoxText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBoxText.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBoxText.Location = new System.Drawing.Point(29, 105);
+ this.textBoxText.Location = new System.Drawing.Point(20, 120);
this.textBoxText.Margin = new System.Windows.Forms.Padding(20);
this.textBoxText.Name = "textBoxText";
- this.textBoxText.Size = new System.Drawing.Size(409, 38);
+ this.textBoxText.Size = new System.Drawing.Size(512, 38);
this.textBoxText.TabIndex = 1;
this.textBoxText.Click += new System.EventHandler(this.TextBoxText_Click);
this.textBoxText.Enter += new System.EventHandler(this.TextBoxText_Enter);
@@ -52,27 +59,30 @@
// labelFrage
//
this.labelFrage.AutoSize = true;
- this.labelFrage.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.labelFrage.Location = new System.Drawing.Point(29, 19);
- this.labelFrage.Margin = new System.Windows.Forms.Padding(20, 10, 20, 20);
+ this.labelFrage.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.labelFrage.ForeColor = System.Drawing.Color.White;
+ this.labelFrage.Location = new System.Drawing.Point(20, 20);
+ this.labelFrage.Margin = new System.Windows.Forms.Padding(20, 20, 5, 5);
this.labelFrage.Name = "labelFrage";
- this.labelFrage.Size = new System.Drawing.Size(134, 20);
+ this.labelFrage.Size = new System.Drawing.Size(156, 25);
this.labelFrage.TabIndex = 4;
this.labelFrage.Text = "Deine Frage hier";
//
// labelEingabe
//
this.labelEingabe.AutoSize = true;
- this.labelEingabe.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.labelEingabe.Location = new System.Drawing.Point(29, 79);
- this.labelEingabe.Margin = new System.Windows.Forms.Padding(20, 20, 20, 0);
+ this.labelEingabe.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.labelEingabe.ForeColor = System.Drawing.Color.White;
+ this.labelEingabe.Location = new System.Drawing.Point(20, 70);
+ this.labelEingabe.Margin = new System.Windows.Forms.Padding(20, 20, 5, 5);
this.labelEingabe.Name = "labelEingabe";
- this.labelEingabe.Size = new System.Drawing.Size(65, 20);
+ this.labelEingabe.Size = new System.Drawing.Size(79, 25);
this.labelEingabe.TabIndex = 5;
this.labelEingabe.Text = "Anzahl:";
//
// buttonAbbrechen
//
+ this.buttonAbbrechen.AccessibleName = "Abbrechen";
this.buttonAbbrechen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonAbbrechen.BackColor = System.Drawing.Color.Red;
this.buttonAbbrechen.CausesValidation = false;
@@ -82,8 +92,8 @@
this.buttonAbbrechen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonAbbrechen.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonAbbrechen.ForeColor = System.Drawing.Color.White;
- this.buttonAbbrechen.Location = new System.Drawing.Point(238, 167);
- this.buttonAbbrechen.Margin = new System.Windows.Forms.Padding(4, 4, 20, 4);
+ this.buttonAbbrechen.Location = new System.Drawing.Point(215, 5);
+ this.buttonAbbrechen.Margin = new System.Windows.Forms.Padding(5);
this.buttonAbbrechen.Name = "buttonAbbrechen";
this.buttonAbbrechen.Size = new System.Drawing.Size(200, 50);
this.buttonAbbrechen.TabIndex = 3;
@@ -93,6 +103,7 @@
//
// buttonOK
//
+ this.buttonOK.AccessibleName = "Ok";
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
@@ -101,8 +112,8 @@
this.buttonOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonOK.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonOK.ForeColor = System.Drawing.Color.White;
- this.buttonOK.Location = new System.Drawing.Point(30, 167);
- this.buttonOK.Margin = new System.Windows.Forms.Padding(20, 4, 4, 4);
+ this.buttonOK.Location = new System.Drawing.Point(5, 5);
+ this.buttonOK.Margin = new System.Windows.Forms.Padding(5);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.buttonOK.Size = new System.Drawing.Size(200, 50);
@@ -111,6 +122,57 @@
this.buttonOK.UseVisualStyleBackColor = false;
this.buttonOK.Click += new System.EventHandler(this.ButtonOK_Click);
//
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.AutoSize = true;
+ this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.labelFrage, 0, 0);
+ this.tableLayoutPanel1.Controls.Add(this.labelEingabe, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.textBoxText, 0, 2);
+ this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 3);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 4;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(552, 244);
+ this.tableLayoutPanel1.TabIndex = 6;
+ //
+ // tableLayoutPanel2
+ //
+ this.tableLayoutPanel2.AutoSize = true;
+ this.tableLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.tableLayoutPanel2.ColumnCount = 3;
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel1, 1, 0);
+ this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 181);
+ this.tableLayoutPanel2.Name = "tableLayoutPanel2";
+ this.tableLayoutPanel2.RowCount = 1;
+ this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel2.Size = new System.Drawing.Size(546, 60);
+ this.tableLayoutPanel2.TabIndex = 6;
+ //
+ // flowLayoutPanel1
+ //
+ this.flowLayoutPanel1.AutoSize = true;
+ this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.flowLayoutPanel1.Controls.Add(this.buttonOK);
+ this.flowLayoutPanel1.Controls.Add(this.buttonAbbrechen);
+ this.flowLayoutPanel1.Location = new System.Drawing.Point(63, 0);
+ this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
+ this.flowLayoutPanel1.Name = "flowLayoutPanel1";
+ this.flowLayoutPanel1.Size = new System.Drawing.Size(420, 60);
+ this.flowLayoutPanel1.TabIndex = 0;
+ this.flowLayoutPanel1.WrapContents = false;
+ //
// CustomInputBox
//
this.AcceptButton = this.buttonOK;
@@ -118,17 +180,20 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.CancelButton = this.buttonAbbrechen;
- this.ClientSize = new System.Drawing.Size(467, 230);
- this.Controls.Add(this.buttonAbbrechen);
- this.Controls.Add(this.buttonOK);
- this.Controls.Add(this.labelEingabe);
- this.Controls.Add(this.labelFrage);
- this.Controls.Add(this.textBoxText);
+ this.ClientSize = new System.Drawing.Size(552, 244);
+ this.Controls.Add(this.tableLayoutPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "CustomInputBox";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "CustomMessageBox";
+ this.Text = "CustomInputBox";
+ this.tableLayoutPanel1.ResumeLayout(false);
+ this.tableLayoutPanel1.PerformLayout();
+ this.tableLayoutPanel2.ResumeLayout(false);
+ this.tableLayoutPanel2.PerformLayout();
+ this.flowLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@@ -140,5 +205,8 @@
private System.Windows.Forms.Label labelEingabe;
private System.Windows.Forms.Button buttonAbbrechen;
private System.Windows.Forms.Button buttonOK;
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
}
}
\ No newline at end of file
diff --git a/AA-Forms/CustomInputBox.cs b/AA-Forms/CustomInputBox.cs
index e70b45b..a0e56b4 100644
--- a/AA-Forms/CustomInputBox.cs
+++ b/AA-Forms/CustomInputBox.cs
@@ -1,4 +1,5 @@
-using System;
+using Deckungsbeitrag.AA_Klassen;
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@@ -15,13 +16,14 @@ namespace Deckungsbeitrag.AA_Forms
{
private QwertzKeyboard keyboard;
private readonly bool isNumeric;
- private readonly string frage;
- private readonly string title;
- private readonly string eingabe;
+ //private readonly string frage;
+ //private readonly string title;
+ //private readonly string eingabe;
public string text;
public CustomInputBox()
{
InitializeComponent();
+ ControlBox = false;
}
public CustomInputBox(string Frage, string Title, string Eingabe, string numeric) : this()
{
@@ -33,6 +35,8 @@ namespace Deckungsbeitrag.AA_Forms
this.Text = Title;
if (isNumeric) this.textBoxText.Text = "1";
else this.textBoxText.Text = string.Empty;
+ this.buttonOK.Text = TranslationService.T("Button.Ok");
+ this.buttonAbbrechen.Text = TranslationService.T("Button.Abbrechen");
}
private void TextBoxText_Click(object sender, EventArgs e)
diff --git a/AA-Forms/CustomInputBox.resx b/AA-Forms/CustomInputBox.resx
index 1af7de1..4b0fe78 100644
--- a/AA-Forms/CustomInputBox.resx
+++ b/AA-Forms/CustomInputBox.resx
@@ -117,4 +117,103 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ AAABAAEAAAAAAAEAIAC5FQAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAAAAFv
+ ck5UAc+id5oAABVzSURBVHja7Z0LuFVVtcfPOqCg4gMFVDQhsHyics4GfBUIPsMywULt4Ytz4CqSWV5R
+ UwnsZpaZ0c23XtNKI/JVGT5BTbtqiqX5SMRXGnI1LdBjiNwx9h57sfY6a5+91jl77b3WXr/f9/0//Pz4
+ Ps4Zc8wx5xpzzDmamgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgTpxRbYECgIxNeoJBQgcBsGFM9tpEtKdo
+ quhc0VzRaaJPiwZjw9oNxEDRSNF40SdFO4k2ZABC26+faGezndpwD9EW2K+svdQ2x4vuEv2faI1orUfv
+ ih4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pqsGIt
+ sheL+zWC4/oSqi/UYPI/LTpNtA0TH6rpwPoc9sIYM/vFNlAN1efd97t8M8aJ/7Lo29Zsg4kPsTixdnH5
+ Z5Ud9znRLHthtyEdN+aE6gprszWy1qXPkL0AoN1Zb6yS474qusA6Fjf0iuX7/b5SpYSqtim/wdplk9mH
+ mjnxPnYs113H1eaPV1gPuMycRfveXFjUA/t12KfYZ0QbMPGh1g6s28xTu/FmgJ5FzxeNz+qK5fl99xO9
+ 1I3XjB6yZCzNM6GuDtw3/yxUuEcwtf3znaJJWT+L9v3uh0XoLfik1WJsxcSHpDhwb7uBt7DM2wEr7Tbc
+ caL+OG6gDfXNgivtk2pNwJGoHunNtuQh9oPEOXDxwstY+yzQBiM/sKz+QdY1B8ft2ob6mvDuonZrOT7P
+ jgunuM+YYT9IQSCgx3uMNgRInTMD9gMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgJD8PyK+P6C0d3u7AAAAAElFTkSu
+ QmCC
+
+
\ No newline at end of file
diff --git a/AA-Forms/CustomMessageBox.Designer.cs b/AA-Forms/CustomMessageBox.Designer.cs
new file mode 100644
index 0000000..bb0d2c9
--- /dev/null
+++ b/AA-Forms/CustomMessageBox.Designer.cs
@@ -0,0 +1,220 @@
+namespace Deckungsbeitrag.AA_Forms
+{
+ partial class CustomMessageBox
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomMessageBox));
+ this.labelText = new System.Windows.Forms.Label();
+ this.labelToDo = new System.Windows.Forms.Label();
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.tLPButtons = new System.Windows.Forms.TableLayoutPanel();
+ this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+ this.buttonOK = new System.Windows.Forms.Button();
+ this.buttonAbbrechen = new System.Windows.Forms.Button();
+ this.buttonAlternativ = new System.Windows.Forms.Button();
+ this.tableLayoutPanel1.SuspendLayout();
+ this.tLPButtons.SuspendLayout();
+ this.flowLayoutPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // labelText
+ //
+ this.labelText.AutoSize = true;
+ this.labelText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.labelText.ForeColor = System.Drawing.Color.White;
+ this.labelText.Location = new System.Drawing.Point(20, 20);
+ this.labelText.Margin = new System.Windows.Forms.Padding(20);
+ this.labelText.Name = "labelText";
+ this.labelText.Size = new System.Drawing.Size(133, 25);
+ this.labelText.TabIndex = 6;
+ this.labelText.Text = "Dein Text hier";
+ //
+ // labelToDo
+ //
+ this.labelToDo.AutoSize = true;
+ this.labelToDo.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.labelToDo.ForeColor = System.Drawing.Color.White;
+ this.labelToDo.Location = new System.Drawing.Point(20, 83);
+ this.labelToDo.Margin = new System.Windows.Forms.Padding(20, 10, 20, 20);
+ this.labelToDo.Name = "labelToDo";
+ this.labelToDo.Size = new System.Drawing.Size(133, 25);
+ this.labelToDo.TabIndex = 7;
+ this.labelToDo.Text = "Dein Text hier";
+ //
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.AutoSize = true;
+ this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.tableLayoutPanel1.ColumnCount = 1;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel1.Controls.Add(this.tLPButtons, 0, 2);
+ this.tableLayoutPanel1.Controls.Add(this.labelText, 0, 0);
+ this.tableLayoutPanel1.Controls.Add(this.labelToDo, 0, 1);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 3;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(653, 213);
+ this.tableLayoutPanel1.TabIndex = 10;
+ //
+ // tLPButtons
+ //
+ this.tLPButtons.AutoSize = true;
+ this.tLPButtons.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.tLPButtons.ColumnCount = 3;
+ this.tLPButtons.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tLPButtons.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ this.tLPButtons.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tLPButtons.Controls.Add(this.flowLayoutPanel1, 1, 0);
+ this.tLPButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.tLPButtons.Location = new System.Drawing.Point(3, 150);
+ this.tLPButtons.Name = "tLPButtons";
+ this.tLPButtons.RowCount = 1;
+ this.tLPButtons.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tLPButtons.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+ this.tLPButtons.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+ this.tLPButtons.Size = new System.Drawing.Size(647, 60);
+ this.tLPButtons.TabIndex = 10;
+ //
+ // flowLayoutPanel1
+ //
+ this.flowLayoutPanel1.AutoSize = true;
+ this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.flowLayoutPanel1.Controls.Add(this.buttonOK);
+ this.flowLayoutPanel1.Controls.Add(this.buttonAlternativ);
+ this.flowLayoutPanel1.Controls.Add(this.buttonAbbrechen);
+ this.flowLayoutPanel1.Location = new System.Drawing.Point(8, 0);
+ this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
+ this.flowLayoutPanel1.Name = "flowLayoutPanel1";
+ this.flowLayoutPanel1.Size = new System.Drawing.Size(630, 60);
+ this.flowLayoutPanel1.TabIndex = 8;
+ this.flowLayoutPanel1.WrapContents = false;
+ //
+ // buttonOK
+ //
+ this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
+ this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
+ this.buttonOK.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
+ this.buttonOK.FlatAppearance.BorderSize = 0;
+ this.buttonOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.buttonOK.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.buttonOK.ForeColor = System.Drawing.Color.White;
+ this.buttonOK.Location = new System.Drawing.Point(5, 5);
+ this.buttonOK.Margin = new System.Windows.Forms.Padding(5);
+ this.buttonOK.Name = "buttonOK";
+ this.buttonOK.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.buttonOK.Size = new System.Drawing.Size(200, 50);
+ this.buttonOK.TabIndex = 4;
+ this.buttonOK.Text = "OK";
+ this.buttonOK.UseVisualStyleBackColor = false;
+ this.buttonOK.Click += new System.EventHandler(this.Button_Click);
+ //
+ // buttonAbbrechen
+ //
+ this.buttonAbbrechen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonAbbrechen.BackColor = System.Drawing.Color.Red;
+ this.buttonAbbrechen.CausesValidation = false;
+ this.buttonAbbrechen.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.buttonAbbrechen.FlatAppearance.BorderColor = System.Drawing.Color.Red;
+ this.buttonAbbrechen.FlatAppearance.BorderSize = 0;
+ this.buttonAbbrechen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.buttonAbbrechen.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.buttonAbbrechen.ForeColor = System.Drawing.Color.White;
+ this.buttonAbbrechen.Location = new System.Drawing.Point(425, 5);
+ this.buttonAbbrechen.Margin = new System.Windows.Forms.Padding(5);
+ this.buttonAbbrechen.Name = "buttonAbbrechen";
+ this.buttonAbbrechen.Size = new System.Drawing.Size(200, 50);
+ this.buttonAbbrechen.TabIndex = 5;
+ this.buttonAbbrechen.Text = "Abbrechen";
+ this.buttonAbbrechen.UseVisualStyleBackColor = false;
+ this.buttonAbbrechen.Click += new System.EventHandler(this.Button_Click);
+ //
+ // buttonAlternativ
+ //
+ this.buttonAlternativ.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonAlternativ.BackColor = System.Drawing.Color.Orange;
+ this.buttonAlternativ.CausesValidation = false;
+ this.buttonAlternativ.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.buttonAlternativ.FlatAppearance.BorderColor = System.Drawing.Color.Red;
+ this.buttonAlternativ.FlatAppearance.BorderSize = 0;
+ this.buttonAlternativ.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.buttonAlternativ.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.buttonAlternativ.ForeColor = System.Drawing.Color.White;
+ this.buttonAlternativ.Location = new System.Drawing.Point(215, 5);
+ this.buttonAlternativ.Margin = new System.Windows.Forms.Padding(5);
+ this.buttonAlternativ.Name = "buttonAlternativ";
+ this.buttonAlternativ.Size = new System.Drawing.Size(200, 50);
+ this.buttonAlternativ.TabIndex = 6;
+ this.buttonAlternativ.Text = "Alternative";
+ this.buttonAlternativ.UseVisualStyleBackColor = false;
+ this.buttonAlternativ.Visible = false;
+ this.buttonAlternativ.Click += new System.EventHandler(this.Button_Click);
+ //
+ // CustomMessageBox
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.AutoSize = true;
+ this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
+ this.ClientSize = new System.Drawing.Size(653, 213);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.MinimumSize = new System.Drawing.Size(500, 250);
+ this.Name = "CustomMessageBox";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "CustomMessageBox";
+ this.Load += new System.EventHandler(this.CustomMessageBox_Load);
+ this.tableLayoutPanel1.ResumeLayout(false);
+ this.tableLayoutPanel1.PerformLayout();
+ this.tLPButtons.ResumeLayout(false);
+ this.tLPButtons.PerformLayout();
+ this.flowLayoutPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+ private System.Windows.Forms.Label labelText;
+ private System.Windows.Forms.Label labelToDo;
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ private System.Windows.Forms.TableLayoutPanel tLPButtons;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
+ private System.Windows.Forms.Button buttonOK;
+ private System.Windows.Forms.Button buttonAbbrechen;
+ private System.Windows.Forms.Button buttonAlternativ;
+ }
+}
\ No newline at end of file
diff --git a/AA-Forms/CustomMessageBox.cs b/AA-Forms/CustomMessageBox.cs
new file mode 100644
index 0000000..8bcfd16
--- /dev/null
+++ b/AA-Forms/CustomMessageBox.cs
@@ -0,0 +1,135 @@
+using Deckungsbeitrag.AA_Klassen;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Runtime.CompilerServices;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Forms;
+using VirtualKeyboard;
+
+namespace Deckungsbeitrag.AA_Forms
+{
+ public partial class CustomMessageBox : Form
+ {
+ public DialogResult result;
+ public string buttontext;
+ private string title;
+ private string caption;
+ private string todo;
+ private string[] buttons;
+
+ private static string Title;
+ private static string Caption;
+ private static string Todo;
+ private static string[] Buttons;
+
+ public CustomMessageBox(string title, string caption, string todo, string[] buttons)
+ {
+ InitializeComponent();
+ ControlBox = false;
+ this.title = title;
+ this.caption = caption;
+ this.todo = todo;
+ }
+
+
+ ///
+ /// Aufrufen der CustomMessageBox.
+ ///
+ /// FormTitel
+ /// Message-Text
+ /// ToDo
+ /// Welche Buttonnamen [0]=Button OK, [1]=Button Abbrechen, [2]=Button Alternative
+ public static DialogResult Show(string title, string caption, string todo, string[] buttons)
+ {
+ CustomMessageBox messageBox = new CustomMessageBox(title, caption, todo, buttons);
+ return messageBox.ShowDialog();
+ }
+
+ private void CustomMessageBox_Load(object sender, EventArgs e)
+ {
+ GetTranslation(title, caption, todo);
+ Buttons = buttons;
+
+ this.labelText.Text = Caption;
+ this.Text = Title;
+ if (Todo == null)
+ {
+ this.labelToDo.Visible = false;
+ }
+ else this.labelToDo.Text = Todo;
+
+ GetButtons();
+ }
+ private void GetButtons()
+ {
+ if (Buttons.Length == 1)
+ {
+ this.buttonAbbrechen.Visible = false;
+ this.buttonOK.Text = TranslationService.T($"Button.{Buttons[0]}");
+ this.buttonOK.AccessibleName = Buttons[0];
+ }
+ if (Buttons.Length == 2)
+ {
+ this.buttonAbbrechen.Visible = true;
+ this.buttonOK.Text = TranslationService.T($"Button.{Buttons[0]}");
+ this.buttonAbbrechen.Text = TranslationService.T($"button.{Buttons[1]}");
+ this.buttonOK.AccessibleName = Buttons[0];
+ this.buttonAbbrechen.AccessibleName = Buttons[1];
+ }
+ if (Buttons.Length == 3)
+ {
+ this.buttonAlternativ.Visible = true;
+ this.buttonOK.Text = TranslationService.T($"Button.{Buttons[0]}");
+ this.buttonAbbrechen.Text = TranslationService.T($"Button.{Buttons[1]}");
+ this.buttonAlternativ.Text = TranslationService.T($"Button.{Buttons[2]}");
+ this.buttonOK.AccessibleName = Buttons[0];
+ this.buttonAbbrechen.AccessibleName = Buttons[1];
+ this.buttonAlternativ.AccessibleName = Buttons[2];
+ }
+ }
+ private static void GetTranslation(string title, string caption, string todo)
+ {
+ Title = TranslationService.T(title);
+ Caption = TranslationService.T(caption);
+ Todo = TranslationService.T(todo);
+ }
+
+ private void Button_Click(object sender, EventArgs e)
+ {
+ Button btn = sender as Button;
+
+ switch (btn.AccessibleName.ToLower())
+ {
+ case var t when t == "ok": this.DialogResult = DialogResult.OK; break;
+ case var t when t == "ja": this.DialogResult = DialogResult.Yes; break;
+ case var t when t == "abbrechen": this.DialogResult = DialogResult.Cancel; break;
+ case var t when t == "nein": this.DialogResult = DialogResult.No; break;
+ default:
+ this.buttontext = btn.AccessibleName;
+ this.DialogResult = DialogResult.Ignore;
+ break;
+ }
+
+ this.Close();
+ }
+
+ protected override bool ProcessDialogKey(Keys keyData)
+ {
+ // Taste T löst Übersetzung aus.
+ if (Form.ModifierKeys == Keys.None && keyData == Keys.T)
+ {
+ this.Close();
+ return true;
+ }
+
+ return base.ProcessDialogKey(keyData);
+ }
+
+ }
+}
diff --git a/AA-Forms/CustomMessageBox.resx b/AA-Forms/CustomMessageBox.resx
new file mode 100644
index 0000000..4b0fe78
--- /dev/null
+++ b/AA-Forms/CustomMessageBox.resx
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+
+ AAABAAEAAAAAAAEAIAC5FQAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAAAAFv
+ ck5UAc+id5oAABVzSURBVHja7Z0LuFVVtcfPOqCg4gMFVDQhsHy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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgJD8PyK+P6C0d3u7AAAAAElFTkSu
+ QmCC
+
+
+
\ No newline at end of file
diff --git a/AA-Forms/FormArtikelVW.cs b/AA-Forms/FormArtikelVW.cs
index 8413115..b317192 100644
--- a/AA-Forms/FormArtikelVW.cs
+++ b/AA-Forms/FormArtikelVW.cs
@@ -154,7 +154,7 @@ namespace Deckungsbeitrag
this.objectListViewArtikel.ShowGroups = false;
Generator.GenerateColumns(this.objectListViewArtikel, typeof(NWData));
- List kndartList = KundeArtikel.GetFehlmengeList(null, art.ArtikelID);
+ List kndartList = KundeArtikel.GetFehlmengeList(null, art.ArtikelID, false);
var NWDataList = new List();
// Kunden sammeln
diff --git a/AA-Forms/FormAuftragAuswahl.cs b/AA-Forms/FormAuftragAuswahl.cs
index f9674de..38e50ac 100644
--- a/AA-Forms/FormAuftragAuswahl.cs
+++ b/AA-Forms/FormAuftragAuswahl.cs
@@ -202,6 +202,7 @@ namespace Deckungsbeitrag.AA_Forms
private void FormAuftragAuswahl_FormClosing(object sender, FormClosingEventArgs e)
{
+ if (keyboard != null) keyboard.Close();
if (this.kunde == null & this.auftrag == null) this.DialogResult = DialogResult.Cancel;
}
}
diff --git a/AA-Forms/FormEinstellung.Designer.cs b/AA-Forms/FormEinstellung.Designer.cs
index a27cc82..1e9bb17 100644
--- a/AA-Forms/FormEinstellung.Designer.cs
+++ b/AA-Forms/FormEinstellung.Designer.cs
@@ -84,6 +84,14 @@
this.label1 = new System.Windows.Forms.Label();
this.tabControlEinstellung = new System.Windows.Forms.TabControl();
this.tabPageAllgemein = new System.Windows.Forms.TabPage();
+ this.groupBoxSprache = new System.Windows.Forms.GroupBox();
+ this.comboBoxSprachen = new System.Windows.Forms.ComboBox();
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.buttonSaveCredentials = new System.Windows.Forms.Button();
+ this.label26 = new System.Windows.Forms.Label();
+ this.label25 = new System.Windows.Forms.Label();
+ this.textBoxApiKey = new System.Windows.Forms.TextBox();
+ this.textBoxToken = new System.Windows.Forms.TextBox();
this.groupBoxPfade = new System.Windows.Forms.GroupBox();
this.tabPageFarben = new System.Windows.Forms.TabPage();
this.tabPageDeckungsbeitrag = new System.Windows.Forms.TabPage();
@@ -109,12 +117,6 @@
this.label15 = new System.Windows.Forms.Label();
this.tabPageExpedit = new System.Windows.Forms.TabPage();
this.panelButtons = new System.Windows.Forms.Panel();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.textBoxApiKey = new System.Windows.Forms.TextBox();
- this.textBoxToken = new System.Windows.Forms.TextBox();
- this.label25 = new System.Windows.Forms.Label();
- this.label26 = new System.Windows.Forms.Label();
- this.buttonSaveCredentials = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.numUpDownMinWert)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numUpDownMaxWert)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numUpDownAnzahl)).BeginInit();
@@ -124,6 +126,8 @@
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSWSKopien)).BeginInit();
this.tabControlEinstellung.SuspendLayout();
this.tabPageAllgemein.SuspendLayout();
+ this.groupBoxSprache.SuspendLayout();
+ this.groupBox2.SuspendLayout();
this.groupBoxPfade.SuspendLayout();
this.tabPageFarben.SuspendLayout();
this.tabPageDeckungsbeitrag.SuspendLayout();
@@ -131,7 +135,6 @@
this.tabPageTourenplanung.SuspendLayout();
this.groupBoxRegeln.SuspendLayout();
this.panelButtons.SuspendLayout();
- this.groupBox2.SuspendLayout();
this.SuspendLayout();
//
// buttonVarKost
@@ -817,7 +820,7 @@
this.comboBoxSWSDrucker.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBoxSWSDrucker.FormattingEnabled = true;
this.comboBoxSWSDrucker.Location = new System.Drawing.Point(164, 36);
- this.comboBoxSWSDrucker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBoxSWSDrucker.Margin = new System.Windows.Forms.Padding(4);
this.comboBoxSWSDrucker.Name = "comboBoxSWSDrucker";
this.comboBoxSWSDrucker.Size = new System.Drawing.Size(259, 25);
this.comboBoxSWSDrucker.TabIndex = 46;
@@ -827,7 +830,7 @@
this.comboBoxEtikettDrucker.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBoxEtikettDrucker.FormattingEnabled = true;
this.comboBoxEtikettDrucker.Location = new System.Drawing.Point(164, 69);
- this.comboBoxEtikettDrucker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBoxEtikettDrucker.Margin = new System.Windows.Forms.Padding(4);
this.comboBoxEtikettDrucker.Name = "comboBoxEtikettDrucker";
this.comboBoxEtikettDrucker.Size = new System.Drawing.Size(259, 25);
this.comboBoxEtikettDrucker.TabIndex = 47;
@@ -844,9 +847,9 @@
this.groupBoxDrucker.Controls.Add(this.label14);
this.groupBoxDrucker.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.groupBoxDrucker.Location = new System.Drawing.Point(19, 39);
- this.groupBoxDrucker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.groupBoxDrucker.Margin = new System.Windows.Forms.Padding(4);
this.groupBoxDrucker.Name = "groupBoxDrucker";
- this.groupBoxDrucker.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.groupBoxDrucker.Padding = new System.Windows.Forms.Padding(4);
this.groupBoxDrucker.Size = new System.Drawing.Size(729, 151);
this.groupBoxDrucker.TabIndex = 48;
this.groupBoxDrucker.TabStop = false;
@@ -857,7 +860,7 @@
this.comboBoxTourenlisteDrucker.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBoxTourenlisteDrucker.FormattingEnabled = true;
this.comboBoxTourenlisteDrucker.Location = new System.Drawing.Point(164, 102);
- this.comboBoxTourenlisteDrucker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBoxTourenlisteDrucker.Margin = new System.Windows.Forms.Padding(4);
this.comboBoxTourenlisteDrucker.Name = "comboBoxTourenlisteDrucker";
this.comboBoxTourenlisteDrucker.Size = new System.Drawing.Size(259, 25);
this.comboBoxTourenlisteDrucker.TabIndex = 51;
@@ -876,7 +879,7 @@
//
this.numericUpDownSWSKopien.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numericUpDownSWSKopien.Location = new System.Drawing.Point(539, 37);
- this.numericUpDownSWSKopien.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.numericUpDownSWSKopien.Margin = new System.Windows.Forms.Padding(4);
this.numericUpDownSWSKopien.Name = "numericUpDownSWSKopien";
this.numericUpDownSWSKopien.Size = new System.Drawing.Size(63, 23);
this.numericUpDownSWSKopien.TabIndex = 49;
@@ -903,7 +906,7 @@
this.tabControlEinstellung.Controls.Add(this.tabPageTourenplanung);
this.tabControlEinstellung.Controls.Add(this.tabPageExpedit);
this.tabControlEinstellung.Location = new System.Drawing.Point(0, 0);
- this.tabControlEinstellung.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.tabControlEinstellung.Margin = new System.Windows.Forms.Padding(4);
this.tabControlEinstellung.Name = "tabControlEinstellung";
this.tabControlEinstellung.SelectedIndex = 0;
this.tabControlEinstellung.Size = new System.Drawing.Size(1589, 767);
@@ -911,16 +914,110 @@
//
// tabPageAllgemein
//
+ this.tabPageAllgemein.Controls.Add(this.groupBoxSprache);
this.tabPageAllgemein.Controls.Add(this.groupBox2);
this.tabPageAllgemein.Controls.Add(this.groupBoxPfade);
this.tabPageAllgemein.Location = new System.Drawing.Point(4, 25);
- this.tabPageAllgemein.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.tabPageAllgemein.Margin = new System.Windows.Forms.Padding(4);
this.tabPageAllgemein.Name = "tabPageAllgemein";
this.tabPageAllgemein.Size = new System.Drawing.Size(1581, 738);
this.tabPageAllgemein.TabIndex = 4;
this.tabPageAllgemein.Text = "Allgemein";
this.tabPageAllgemein.UseVisualStyleBackColor = true;
//
+ // groupBoxSprache
+ //
+ this.groupBoxSprache.Controls.Add(this.comboBoxSprachen);
+ this.groupBoxSprache.Location = new System.Drawing.Point(18, 205);
+ this.groupBoxSprache.Name = "groupBoxSprache";
+ this.groupBoxSprache.Size = new System.Drawing.Size(368, 100);
+ this.groupBoxSprache.TabIndex = 36;
+ this.groupBoxSprache.TabStop = false;
+ this.groupBoxSprache.Text = "Sprache";
+ //
+ // comboBoxSprachen
+ //
+ this.comboBoxSprachen.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.comboBoxSprachen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.comboBoxSprachen.FormattingEnabled = true;
+ this.comboBoxSprachen.Location = new System.Drawing.Point(10, 38);
+ this.comboBoxSprachen.Margin = new System.Windows.Forms.Padding(4);
+ this.comboBoxSprachen.Name = "comboBoxSprachen";
+ this.comboBoxSprachen.Size = new System.Drawing.Size(259, 25);
+ this.comboBoxSprachen.TabIndex = 47;
+ this.comboBoxSprachen.SelectedIndexChanged += new System.EventHandler(this.ComboBoxSprachen_SelectedIndexChanged);
+ //
+ // groupBox2
+ //
+ this.groupBox2.Controls.Add(this.buttonSaveCredentials);
+ this.groupBox2.Controls.Add(this.label26);
+ this.groupBox2.Controls.Add(this.label25);
+ this.groupBox2.Controls.Add(this.textBoxApiKey);
+ this.groupBox2.Controls.Add(this.textBoxToken);
+ this.groupBox2.Location = new System.Drawing.Point(18, 17);
+ this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
+ this.groupBox2.Name = "groupBox2";
+ this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
+ this.groupBox2.Size = new System.Drawing.Size(869, 161);
+ this.groupBox2.TabIndex = 35;
+ this.groupBox2.TabStop = false;
+ this.groupBox2.Text = "Trello-Credentials";
+ //
+ // buttonSaveCredentials
+ //
+ this.buttonSaveCredentials.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonSaveCredentials.BackColor = System.Drawing.Color.Green;
+ this.buttonSaveCredentials.FlatAppearance.BorderColor = System.Drawing.Color.Green;
+ this.buttonSaveCredentials.FlatAppearance.BorderSize = 0;
+ this.buttonSaveCredentials.FlatAppearance.MouseDownBackColor = System.Drawing.Color.LightSteelBlue;
+ this.buttonSaveCredentials.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.buttonSaveCredentials.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.buttonSaveCredentials.ForeColor = System.Drawing.Color.White;
+ this.buttonSaveCredentials.Location = new System.Drawing.Point(575, 121);
+ this.buttonSaveCredentials.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.buttonSaveCredentials.Name = "buttonSaveCredentials";
+ this.buttonSaveCredentials.Size = new System.Drawing.Size(213, 34);
+ this.buttonSaveCredentials.TabIndex = 36;
+ this.buttonSaveCredentials.Text = "Credentials Speichern";
+ this.buttonSaveCredentials.UseVisualStyleBackColor = false;
+ this.buttonSaveCredentials.Click += new System.EventHandler(this.buttonSaveCredentials_Click);
+ //
+ // label26
+ //
+ this.label26.AutoSize = true;
+ this.label26.Location = new System.Drawing.Point(7, 88);
+ this.label26.Name = "label26";
+ this.label26.Size = new System.Drawing.Size(88, 16);
+ this.label26.TabIndex = 35;
+ this.label26.Text = "Trello-Token:";
+ //
+ // label25
+ //
+ this.label25.AutoSize = true;
+ this.label25.Location = new System.Drawing.Point(7, 52);
+ this.label25.Name = "label25";
+ this.label25.Size = new System.Drawing.Size(72, 16);
+ this.label25.TabIndex = 34;
+ this.label25.Text = "Trello-Key:";
+ //
+ // textBoxApiKey
+ //
+ this.textBoxApiKey.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.textBoxApiKey.Location = new System.Drawing.Point(227, 42);
+ this.textBoxApiKey.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.textBoxApiKey.Name = "textBoxApiKey";
+ this.textBoxApiKey.Size = new System.Drawing.Size(561, 30);
+ this.textBoxApiKey.TabIndex = 28;
+ //
+ // textBoxToken
+ //
+ this.textBoxToken.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.textBoxToken.Location = new System.Drawing.Point(227, 78);
+ this.textBoxToken.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.textBoxToken.Name = "textBoxToken";
+ this.textBoxToken.Size = new System.Drawing.Size(561, 30);
+ this.textBoxToken.TabIndex = 30;
+ //
// groupBoxPfade
//
this.groupBoxPfade.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@@ -929,9 +1026,9 @@
this.groupBoxPfade.Controls.Add(this.buttonRatingbild);
this.groupBoxPfade.Controls.Add(this.textBoxRatingbild);
this.groupBoxPfade.Location = new System.Drawing.Point(11, 559);
- this.groupBoxPfade.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.groupBoxPfade.Margin = new System.Windows.Forms.Padding(4);
this.groupBoxPfade.Name = "groupBoxPfade";
- this.groupBoxPfade.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.groupBoxPfade.Padding = new System.Windows.Forms.Padding(4);
this.groupBoxPfade.Size = new System.Drawing.Size(869, 161);
this.groupBoxPfade.TabIndex = 34;
this.groupBoxPfade.TabStop = false;
@@ -941,9 +1038,9 @@
//
this.tabPageFarben.Controls.Add(this.groupBoxFarben);
this.tabPageFarben.Location = new System.Drawing.Point(4, 25);
- this.tabPageFarben.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.tabPageFarben.Margin = new System.Windows.Forms.Padding(4);
this.tabPageFarben.Name = "tabPageFarben";
- this.tabPageFarben.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.tabPageFarben.Padding = new System.Windows.Forms.Padding(4);
this.tabPageFarben.Size = new System.Drawing.Size(1581, 738);
this.tabPageFarben.TabIndex = 0;
this.tabPageFarben.Text = "Farben";
@@ -973,9 +1070,9 @@
this.tabPageDeckungsbeitrag.Controls.Add(this.textBoxFixLohnKosten);
this.tabPageDeckungsbeitrag.Controls.Add(this.buttonFixLohnKosten);
this.tabPageDeckungsbeitrag.Location = new System.Drawing.Point(4, 25);
- this.tabPageDeckungsbeitrag.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.tabPageDeckungsbeitrag.Margin = new System.Windows.Forms.Padding(4);
this.tabPageDeckungsbeitrag.Name = "tabPageDeckungsbeitrag";
- this.tabPageDeckungsbeitrag.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.tabPageDeckungsbeitrag.Padding = new System.Windows.Forms.Padding(4);
this.tabPageDeckungsbeitrag.Size = new System.Drawing.Size(1581, 738);
this.tabPageDeckungsbeitrag.TabIndex = 1;
this.tabPageDeckungsbeitrag.Text = "Deckungsbeitrag";
@@ -985,7 +1082,7 @@
//
this.tabPageDrucker.Controls.Add(this.groupBoxDrucker);
this.tabPageDrucker.Location = new System.Drawing.Point(4, 25);
- this.tabPageDrucker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.tabPageDrucker.Margin = new System.Windows.Forms.Padding(4);
this.tabPageDrucker.Name = "tabPageDrucker";
this.tabPageDrucker.Size = new System.Drawing.Size(1581, 738);
this.tabPageDrucker.TabIndex = 2;
@@ -999,7 +1096,7 @@
this.tabPageTourenplanung.Controls.Add(this.label16);
this.tabPageTourenplanung.Controls.Add(this.label15);
this.tabPageTourenplanung.Location = new System.Drawing.Point(4, 25);
- this.tabPageTourenplanung.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.tabPageTourenplanung.Margin = new System.Windows.Forms.Padding(4);
this.tabPageTourenplanung.Name = "tabPageTourenplanung";
this.tabPageTourenplanung.Size = new System.Drawing.Size(1581, 738);
this.tabPageTourenplanung.TabIndex = 3;
@@ -1035,7 +1132,7 @@
this.comboBox5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBox5.FormattingEnabled = true;
this.comboBox5.Location = new System.Drawing.Point(313, 107);
- this.comboBox5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBox5.Margin = new System.Windows.Forms.Padding(4);
this.comboBox5.Name = "comboBox5";
this.comboBox5.Size = new System.Drawing.Size(59, 25);
this.comboBox5.TabIndex = 58;
@@ -1054,7 +1151,7 @@
this.comboBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBox3.FormattingEnabled = true;
this.comboBox3.Location = new System.Drawing.Point(207, 107);
- this.comboBox3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBox3.Margin = new System.Windows.Forms.Padding(4);
this.comboBox3.Name = "comboBox3";
this.comboBox3.Size = new System.Drawing.Size(59, 25);
this.comboBox3.TabIndex = 56;
@@ -1064,7 +1161,7 @@
this.comboBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBox4.FormattingEnabled = true;
this.comboBox4.Location = new System.Drawing.Point(100, 107);
- this.comboBox4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBox4.Margin = new System.Windows.Forms.Padding(4);
this.comboBox4.Name = "comboBox4";
this.comboBox4.Size = new System.Drawing.Size(59, 25);
this.comboBox4.TabIndex = 55;
@@ -1083,7 +1180,7 @@
this.comboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(207, 53);
- this.comboBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBox1.Margin = new System.Windows.Forms.Padding(4);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(59, 25);
this.comboBox1.TabIndex = 53;
@@ -1093,7 +1190,7 @@
this.comboBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Location = new System.Drawing.Point(100, 49);
- this.comboBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBox2.Margin = new System.Windows.Forms.Padding(4);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(59, 25);
this.comboBox2.TabIndex = 52;
@@ -1112,7 +1209,7 @@
this.comboBoxLT2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBoxLT2.FormattingEnabled = true;
this.comboBoxLT2.Location = new System.Drawing.Point(207, 16);
- this.comboBoxLT2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBoxLT2.Margin = new System.Windows.Forms.Padding(4);
this.comboBoxLT2.Name = "comboBoxLT2";
this.comboBoxLT2.Size = new System.Drawing.Size(59, 25);
this.comboBoxLT2.TabIndex = 50;
@@ -1122,7 +1219,7 @@
this.comboBoxLT1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBoxLT1.FormattingEnabled = true;
this.comboBoxLT1.Location = new System.Drawing.Point(100, 16);
- this.comboBoxLT1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBoxLT1.Margin = new System.Windows.Forms.Padding(4);
this.comboBoxLT1.Name = "comboBoxLT1";
this.comboBoxLT1.Size = new System.Drawing.Size(59, 25);
this.comboBoxLT1.TabIndex = 49;
@@ -1169,7 +1266,7 @@
this.comboBoxLieferrhythmus.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.comboBoxLieferrhythmus.FormattingEnabled = true;
this.comboBoxLieferrhythmus.Location = new System.Drawing.Point(375, 95);
- this.comboBoxLieferrhythmus.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.comboBoxLieferrhythmus.Margin = new System.Windows.Forms.Padding(4);
this.comboBoxLieferrhythmus.Name = "comboBoxLieferrhythmus";
this.comboBoxLieferrhythmus.Size = new System.Drawing.Size(259, 25);
this.comboBoxLieferrhythmus.TabIndex = 47;
@@ -1196,7 +1293,7 @@
// tabPageExpedit
//
this.tabPageExpedit.Location = new System.Drawing.Point(4, 25);
- this.tabPageExpedit.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.tabPageExpedit.Margin = new System.Windows.Forms.Padding(4);
this.tabPageExpedit.Name = "tabPageExpedit";
this.tabPageExpedit.Size = new System.Drawing.Size(1581, 738);
this.tabPageExpedit.TabIndex = 5;
@@ -1209,83 +1306,11 @@
this.panelButtons.Controls.Add(this.buttonSpeichern);
this.panelButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panelButtons.Location = new System.Drawing.Point(0, 774);
- this.panelButtons.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.panelButtons.Margin = new System.Windows.Forms.Padding(4);
this.panelButtons.Name = "panelButtons";
this.panelButtons.Size = new System.Drawing.Size(1589, 60);
this.panelButtons.TabIndex = 50;
//
- // groupBox2
- //
- this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.groupBox2.Controls.Add(this.buttonSaveCredentials);
- this.groupBox2.Controls.Add(this.label26);
- this.groupBox2.Controls.Add(this.label25);
- this.groupBox2.Controls.Add(this.textBoxApiKey);
- this.groupBox2.Controls.Add(this.textBoxToken);
- this.groupBox2.Location = new System.Drawing.Point(18, 17);
- this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
- this.groupBox2.Size = new System.Drawing.Size(869, 161);
- this.groupBox2.TabIndex = 35;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "Trello-Credentials";
- //
- // textBoxApiKey
- //
- this.textBoxApiKey.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBoxApiKey.Location = new System.Drawing.Point(227, 42);
- this.textBoxApiKey.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
- this.textBoxApiKey.Name = "textBoxApiKey";
- this.textBoxApiKey.Size = new System.Drawing.Size(561, 30);
- this.textBoxApiKey.TabIndex = 28;
- //
- // textBoxToken
- //
- this.textBoxToken.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.textBoxToken.Location = new System.Drawing.Point(227, 78);
- this.textBoxToken.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
- this.textBoxToken.Name = "textBoxToken";
- this.textBoxToken.Size = new System.Drawing.Size(561, 30);
- this.textBoxToken.TabIndex = 30;
- //
- // label25
- //
- this.label25.AutoSize = true;
- this.label25.Location = new System.Drawing.Point(7, 52);
- this.label25.Name = "label25";
- this.label25.Size = new System.Drawing.Size(72, 16);
- this.label25.TabIndex = 34;
- this.label25.Text = "Trello-Key:";
- //
- // label26
- //
- this.label26.AutoSize = true;
- this.label26.Location = new System.Drawing.Point(7, 88);
- this.label26.Name = "label26";
- this.label26.Size = new System.Drawing.Size(88, 16);
- this.label26.TabIndex = 35;
- this.label26.Text = "Trello-Token:";
- //
- // buttonSaveCredentials
- //
- this.buttonSaveCredentials.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonSaveCredentials.BackColor = System.Drawing.Color.Green;
- this.buttonSaveCredentials.FlatAppearance.BorderColor = System.Drawing.Color.Green;
- this.buttonSaveCredentials.FlatAppearance.BorderSize = 0;
- this.buttonSaveCredentials.FlatAppearance.MouseDownBackColor = System.Drawing.Color.LightSteelBlue;
- this.buttonSaveCredentials.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonSaveCredentials.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.buttonSaveCredentials.ForeColor = System.Drawing.Color.White;
- this.buttonSaveCredentials.Location = new System.Drawing.Point(575, 121);
- this.buttonSaveCredentials.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
- this.buttonSaveCredentials.Name = "buttonSaveCredentials";
- this.buttonSaveCredentials.Size = new System.Drawing.Size(213, 34);
- this.buttonSaveCredentials.TabIndex = 36;
- this.buttonSaveCredentials.Text = "Credentials Speichern";
- this.buttonSaveCredentials.UseVisualStyleBackColor = false;
- this.buttonSaveCredentials.Click += new System.EventHandler(this.buttonSaveCredentials_Click);
- //
// FormEinstellung
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@@ -1311,6 +1336,9 @@
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSWSKopien)).EndInit();
this.tabControlEinstellung.ResumeLayout(false);
this.tabPageAllgemein.ResumeLayout(false);
+ this.groupBoxSprache.ResumeLayout(false);
+ this.groupBox2.ResumeLayout(false);
+ this.groupBox2.PerformLayout();
this.groupBoxPfade.ResumeLayout(false);
this.groupBoxPfade.PerformLayout();
this.tabPageFarben.ResumeLayout(false);
@@ -1322,8 +1350,6 @@
this.groupBoxRegeln.ResumeLayout(false);
this.groupBoxRegeln.PerformLayout();
this.panelButtons.ResumeLayout(false);
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
this.ResumeLayout(false);
}
@@ -1416,5 +1442,7 @@
private System.Windows.Forms.TextBox textBoxApiKey;
private System.Windows.Forms.TextBox textBoxToken;
private System.Windows.Forms.Button buttonSaveCredentials;
+ private System.Windows.Forms.GroupBox groupBoxSprache;
+ private System.Windows.Forms.ComboBox comboBoxSprachen;
}
}
\ No newline at end of file
diff --git a/AA-Forms/FormEinstellung.cs b/AA-Forms/FormEinstellung.cs
index 7aa9698..ccb4442 100644
--- a/AA-Forms/FormEinstellung.cs
+++ b/AA-Forms/FormEinstellung.cs
@@ -1,4 +1,5 @@
using DatenDB;
+using Deckungsbeitrag.AA_Klassen;
using Deckungsbeitrag.Properties;
using System;
using System.Collections.Generic;
@@ -7,6 +8,7 @@ using System.Configuration;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
+using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -88,8 +90,12 @@ namespace Deckungsbeitrag
this.comboBoxTourenlisteDrucker.Items.Add(printer);
}
+ this.comboBoxSprachen.SelectedIndexChanged -= ComboBoxSprachen_SelectedIndexChanged;
- Load_Settings();
+ LoadCultures();
+ Load_Settings();
+
+ this.comboBoxSprachen.SelectedIndexChanged += ComboBoxSprachen_SelectedIndexChanged;
}
private void Load_Settings()
{
@@ -110,13 +116,16 @@ namespace Deckungsbeitrag
this.comboBoxTourenlisteDrucker.Text = _settings.DruckerTourenListe;
this.comboBoxSWSDrucker.Text = _settings.DruckerSWS;
this.numericUpDownSWSKopien.Value = _settings.CopiesSWS;
-
+
+ if (_settings.Culture != null)
+ {
+ this.comboBoxSprachen.SelectedValue = _settings.Culture;
+ }
foreach (Button btn in this.groupBoxFarben.Controls.OfType