Click trotz DragDroü

This commit is contained in:
Kilian Wirl 2025-12-01 19:02:38 +01:00
parent bbc5cd9c4c
commit bfbfbaf29b
8 changed files with 439 additions and 341 deletions

View File

@ -31,7 +31,22 @@ namespace Deckungsbeitrag
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
this.toolStripMenu = new System.Windows.Forms.ToolStrip();
this.tSBBenutzerVW = new System.Windows.Forms.ToolStripButton();
this.tSBAuftragVW = new System.Windows.Forms.ToolStripButton();
this.tSBAufgabeVW = new System.Windows.Forms.ToolStripButton();
this.tSBArtikelVW = new System.Windows.Forms.ToolStripButton();
this.toolStripZaehlscheine = new System.Windows.Forms.ToolStripButton();
this.tSBExpedit = new System.Windows.Forms.ToolStripButton();
this.toolStripDB = new System.Windows.Forms.ToolStripButton();
this.tSBKosten = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.tSBScannTest = new System.Windows.Forms.ToolStripButton();
this.tSBHilfe = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonImport = new System.Windows.Forms.ToolStripButton();
this.tSBEinstellung = new System.Windows.Forms.ToolStripButton();
this.toolStripBeenden = new System.Windows.Forms.ToolStripButton();
this.panelMain = new System.Windows.Forms.Panel();
this.buttonNeuerUser = new System.Windows.Forms.Button();
this.groupBoxStatistik = new System.Windows.Forms.GroupBox();
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
this.tableLayoutPanelStatistik = new System.Windows.Forms.TableLayoutPanel();
@ -65,25 +80,10 @@ namespace Deckungsbeitrag
this.buttonAufAbruf = new System.Windows.Forms.Button();
this.buttonAusgeliefert = new System.Windows.Forms.Button();
this.groupBoxScannTest = new System.Windows.Forms.GroupBox();
this.pictureBoxScannTest = new System.Windows.Forms.PictureBox();
this.textBoxScannTest = new System.Windows.Forms.TextBox();
this.buttonScannTest = new System.Windows.Forms.Button();
this.labelScannTest = new System.Windows.Forms.Label();
this.buttonNeuerUser = new System.Windows.Forms.Button();
this.tSBBenutzerVW = new System.Windows.Forms.ToolStripButton();
this.tSBAuftragVW = new System.Windows.Forms.ToolStripButton();
this.tSBAufgabeVW = new System.Windows.Forms.ToolStripButton();
this.tSBArtikelVW = new System.Windows.Forms.ToolStripButton();
this.toolStripZaehlscheine = new System.Windows.Forms.ToolStripButton();
this.tSBExpedit = new System.Windows.Forms.ToolStripButton();
this.toolStripDB = new System.Windows.Forms.ToolStripButton();
this.tSBKosten = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.tSBScannTest = new System.Windows.Forms.ToolStripButton();
this.tSBHilfe = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonImport = new System.Windows.Forms.ToolStripButton();
this.tSBEinstellung = new System.Windows.Forms.ToolStripButton();
this.toolStripBeenden = new System.Windows.Forms.ToolStripButton();
this.pictureBoxScannTest = new System.Windows.Forms.PictureBox();
this.toolStripMenu.SuspendLayout();
this.panelMain.SuspendLayout();
this.groupBoxStatistik.SuspendLayout();
@ -125,6 +125,276 @@ namespace Deckungsbeitrag
this.toolStripMenu.TabIndex = 0;
this.toolStripMenu.Text = "toolStripMenu";
//
// tSBBenutzerVW
//
this.tSBBenutzerVW.AutoSize = false;
this.tSBBenutzerVW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBBenutzerVW.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBBenutzerVW.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBBenutzerVW.ForeColor = System.Drawing.Color.White;
this.tSBBenutzerVW.Image = ((System.Drawing.Image)(resources.GetObject("tSBBenutzerVW.Image")));
this.tSBBenutzerVW.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBBenutzerVW.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBBenutzerVW.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBBenutzerVW.Name = "tSBBenutzerVW";
this.tSBBenutzerVW.Size = new System.Drawing.Size(180, 40);
this.tSBBenutzerVW.Text = "BENUTZERVERWALTUNG";
this.tSBBenutzerVW.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBBenutzerVW.Click += new System.EventHandler(this.tSBBenutzerVW_Click);
this.tSBBenutzerVW.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBBenutzerVW.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBBenutzerVW.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBAuftragVW
//
this.tSBAuftragVW.AutoSize = false;
this.tSBAuftragVW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBAuftragVW.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBAuftragVW.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBAuftragVW.ForeColor = System.Drawing.Color.White;
this.tSBAuftragVW.Image = ((System.Drawing.Image)(resources.GetObject("tSBAuftragVW.Image")));
this.tSBAuftragVW.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBAuftragVW.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBAuftragVW.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBAuftragVW.Name = "tSBAuftragVW";
this.tSBAuftragVW.Size = new System.Drawing.Size(180, 40);
this.tSBAuftragVW.Text = "AUFTRAGVERWALTUNG";
this.tSBAuftragVW.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBAuftragVW.ToolTipText = "Auftragkontrolle und -bearbeitung";
this.tSBAuftragVW.Click += new System.EventHandler(this.tSBAuftragVW_Click);
this.tSBAuftragVW.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBAuftragVW.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBAuftragVW.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBAufgabeVW
//
this.tSBAufgabeVW.AutoSize = false;
this.tSBAufgabeVW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBAufgabeVW.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBAufgabeVW.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBAufgabeVW.ForeColor = System.Drawing.Color.White;
this.tSBAufgabeVW.Image = ((System.Drawing.Image)(resources.GetObject("tSBAufgabeVW.Image")));
this.tSBAufgabeVW.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBAufgabeVW.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBAufgabeVW.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBAufgabeVW.Name = "tSBAufgabeVW";
this.tSBAufgabeVW.Size = new System.Drawing.Size(180, 40);
this.tSBAufgabeVW.Text = "AUFGABENVERWALTUNG";
this.tSBAufgabeVW.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBAufgabeVW.Click += new System.EventHandler(this.tSBAufgabeVW_Click);
this.tSBAufgabeVW.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBAufgabeVW.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBAufgabeVW.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBArtikelVW
//
this.tSBArtikelVW.AutoSize = false;
this.tSBArtikelVW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBArtikelVW.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBArtikelVW.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBArtikelVW.ForeColor = System.Drawing.Color.White;
this.tSBArtikelVW.Image = ((System.Drawing.Image)(resources.GetObject("tSBArtikelVW.Image")));
this.tSBArtikelVW.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBArtikelVW.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBArtikelVW.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBArtikelVW.Name = "tSBArtikelVW";
this.tSBArtikelVW.Size = new System.Drawing.Size(180, 40);
this.tSBArtikelVW.Text = "ARTIKELVERWALTUNG";
this.tSBArtikelVW.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBArtikelVW.ToolTipText = "Artikel bearbeiten";
this.tSBArtikelVW.Click += new System.EventHandler(this.tSBArtikelVW_Click);
this.tSBArtikelVW.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBArtikelVW.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBArtikelVW.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// toolStripZaehlscheine
//
this.toolStripZaehlscheine.AutoSize = false;
this.toolStripZaehlscheine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.toolStripZaehlscheine.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripZaehlscheine.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripZaehlscheine.ForeColor = System.Drawing.Color.White;
this.toolStripZaehlscheine.Image = ((System.Drawing.Image)(resources.GetObject("toolStripZaehlscheine.Image")));
this.toolStripZaehlscheine.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripZaehlscheine.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripZaehlscheine.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripZaehlscheine.Name = "toolStripZaehlscheine";
this.toolStripZaehlscheine.Size = new System.Drawing.Size(180, 40);
this.toolStripZaehlscheine.Text = "KUNDENVERWALTUNG";
this.toolStripZaehlscheine.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripZaehlscheine.ToolTipText = "Kunde bearbeiten";
this.toolStripZaehlscheine.Click += new System.EventHandler(this.toolStripZaehlscheine_Click);
this.toolStripZaehlscheine.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.toolStripZaehlscheine.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.toolStripZaehlscheine.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBExpedit
//
this.tSBExpedit.AutoSize = false;
this.tSBExpedit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBExpedit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBExpedit.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBExpedit.ForeColor = System.Drawing.Color.White;
this.tSBExpedit.Image = ((System.Drawing.Image)(resources.GetObject("tSBExpedit.Image")));
this.tSBExpedit.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBExpedit.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBExpedit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBExpedit.Name = "tSBExpedit";
this.tSBExpedit.Size = new System.Drawing.Size(180, 40);
this.tSBExpedit.Text = "EXPEDIT";
this.tSBExpedit.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBExpedit.Click += new System.EventHandler(this.tSBExpedit_Click);
this.tSBExpedit.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBExpedit.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBExpedit.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// toolStripDB
//
this.toolStripDB.AutoSize = false;
this.toolStripDB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.toolStripDB.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripDB.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripDB.ForeColor = System.Drawing.Color.White;
this.toolStripDB.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDB.Image")));
this.toolStripDB.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripDB.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripDB.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripDB.Name = "toolStripDB";
this.toolStripDB.Size = new System.Drawing.Size(180, 40);
this.toolStripDB.Text = "DECKUNGSBEITRAG";
this.toolStripDB.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripDB.Click += new System.EventHandler(this.toolStripDB_Click);
this.toolStripDB.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.toolStripDB.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.toolStripDB.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBKosten
//
this.tSBKosten.AutoSize = false;
this.tSBKosten.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBKosten.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBKosten.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBKosten.ForeColor = System.Drawing.Color.White;
this.tSBKosten.Image = ((System.Drawing.Image)(resources.GetObject("tSBKosten.Image")));
this.tSBKosten.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBKosten.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBKosten.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBKosten.Name = "tSBKosten";
this.tSBKosten.Size = new System.Drawing.Size(180, 40);
this.tSBKosten.Text = "KOSTENLISTE";
this.tSBKosten.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBKosten.Click += new System.EventHandler(this.tSBKosten_Click);
this.tSBKosten.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBKosten.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBKosten.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// toolStripButton1
//
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton1.AutoSize = false;
this.toolStripButton1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.BackgroundImage")));
this.toolStripButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton1.Enabled = false;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(180, 70);
this.toolStripButton1.Text = "toolStripButton1";
//
// tSBScannTest
//
this.tSBScannTest.AutoSize = false;
this.tSBScannTest.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBScannTest.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBScannTest.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBScannTest.ForeColor = System.Drawing.Color.White;
this.tSBScannTest.Image = ((System.Drawing.Image)(resources.GetObject("tSBScannTest.Image")));
this.tSBScannTest.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBScannTest.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBScannTest.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBScannTest.Name = "tSBScannTest";
this.tSBScannTest.Size = new System.Drawing.Size(180, 40);
this.tSBScannTest.Text = "SCANN TEST";
this.tSBScannTest.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBScannTest.Click += new System.EventHandler(this.tSBScannTest_Click);
this.tSBScannTest.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBScannTest.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBScannTest.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBHilfe
//
this.tSBHilfe.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.tSBHilfe.AutoSize = false;
this.tSBHilfe.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBHilfe.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBHilfe.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBHilfe.ForeColor = System.Drawing.Color.White;
this.tSBHilfe.Image = ((System.Drawing.Image)(resources.GetObject("tSBHilfe.Image")));
this.tSBHilfe.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBHilfe.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBHilfe.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBHilfe.Name = "tSBHilfe";
this.tSBHilfe.Size = new System.Drawing.Size(180, 40);
this.tSBHilfe.Text = "HILFE";
this.tSBHilfe.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBHilfe.Click += new System.EventHandler(this.tSBHilfe_Click);
//
// toolStripButtonImport
//
this.toolStripButtonImport.AutoSize = false;
this.toolStripButtonImport.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.toolStripButtonImport.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripButtonImport.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripButtonImport.ForeColor = System.Drawing.Color.White;
this.toolStripButtonImport.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonImport.Image")));
this.toolStripButtonImport.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripButtonImport.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripButtonImport.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonImport.Name = "toolStripButtonImport";
this.toolStripButtonImport.Size = new System.Drawing.Size(180, 40);
this.toolStripButtonImport.Text = "IMPORT";
this.toolStripButtonImport.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripButtonImport.Click += new System.EventHandler(this.toolStripButtonImport_Click);
this.toolStripButtonImport.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.toolStripButtonImport.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.toolStripButtonImport.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBEinstellung
//
this.tSBEinstellung.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.tSBEinstellung.AutoSize = false;
this.tSBEinstellung.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBEinstellung.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBEinstellung.ForeColor = System.Drawing.Color.White;
this.tSBEinstellung.Image = ((System.Drawing.Image)(resources.GetObject("tSBEinstellung.Image")));
this.tSBEinstellung.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBEinstellung.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBEinstellung.Name = "tSBEinstellung";
this.tSBEinstellung.Size = new System.Drawing.Size(180, 40);
this.tSBEinstellung.Text = "EINSTELLUNG";
this.tSBEinstellung.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBEinstellung.Click += new System.EventHandler(this.tSBEinstellung_Click);
//
// toolStripBeenden
//
this.toolStripBeenden.AutoSize = false;
this.toolStripBeenden.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.toolStripBeenden.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripBeenden.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripBeenden.ForeColor = System.Drawing.Color.White;
this.toolStripBeenden.Image = ((System.Drawing.Image)(resources.GetObject("toolStripBeenden.Image")));
this.toolStripBeenden.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripBeenden.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripBeenden.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripBeenden.Name = "toolStripBeenden";
this.toolStripBeenden.Size = new System.Drawing.Size(180, 40);
this.toolStripBeenden.Text = "BEENDEN";
this.toolStripBeenden.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripBeenden.Click += new System.EventHandler(this.toolStripBeenden_Click);
this.toolStripBeenden.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.toolStripBeenden.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.toolStripBeenden.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// panelMain
//
this.panelMain.AllowDrop = true;
@ -145,6 +415,27 @@ namespace Deckungsbeitrag
this.panelMain.DragEnter += new System.Windows.Forms.DragEventHandler(this.panelMain_DragEnter);
this.panelMain.Paint += new System.Windows.Forms.PaintEventHandler(this.panelMain_Paint);
//
// buttonNeuerUser
//
this.buttonNeuerUser.BackColor = System.Drawing.Color.Yellow;
this.buttonNeuerUser.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.buttonNeuerUser.FlatAppearance.BorderSize = 0;
this.buttonNeuerUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonNeuerUser.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonNeuerUser.ForeColor = System.Drawing.Color.Black;
this.buttonNeuerUser.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.buttonNeuerUser.Location = new System.Drawing.Point(8, 65);
this.buttonNeuerUser.Margin = new System.Windows.Forms.Padding(2);
this.buttonNeuerUser.Name = "buttonNeuerUser";
this.buttonNeuerUser.Size = new System.Drawing.Size(200, 41);
this.buttonNeuerUser.TabIndex = 62;
this.buttonNeuerUser.Text = "Neuer User";
this.buttonNeuerUser.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.buttonNeuerUser.UseVisualStyleBackColor = false;
this.buttonNeuerUser.Click += new System.EventHandler(this.buttonNeuerUser_Click);
this.buttonNeuerUser.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Button_MouseDown);
this.buttonNeuerUser.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Button_MouseMove);
//
// groupBoxStatistik
//
this.groupBoxStatistik.Controls.Add(this.dateTimePicker1);
@ -469,6 +760,7 @@ namespace Deckungsbeitrag
this.buttonNeuerAuftrag.UseVisualStyleBackColor = false;
this.buttonNeuerAuftrag.Click += new System.EventHandler(this.buttonNeuerAuftrag_Click);
this.buttonNeuerAuftrag.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Button_MouseDown);
this.buttonNeuerAuftrag.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Button_MouseMove);
//
// groupBoxAuftrag
//
@ -642,6 +934,16 @@ namespace Deckungsbeitrag
this.groupBoxScannTest.TabStop = false;
this.groupBoxScannTest.Visible = false;
//
// pictureBoxScannTest
//
this.pictureBoxScannTest.Location = new System.Drawing.Point(6, 10);
this.pictureBoxScannTest.Name = "pictureBoxScannTest";
this.pictureBoxScannTest.Size = new System.Drawing.Size(179, 160);
this.pictureBoxScannTest.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBoxScannTest.TabIndex = 14;
this.pictureBoxScannTest.TabStop = false;
this.pictureBoxScannTest.Visible = false;
//
// textBoxScannTest
//
this.textBoxScannTest.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -674,306 +976,6 @@ namespace Deckungsbeitrag
this.labelScannTest.Text = "label1";
this.labelScannTest.Visible = false;
//
// buttonNeuerUser
//
this.buttonNeuerUser.BackColor = System.Drawing.Color.Yellow;
this.buttonNeuerUser.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.buttonNeuerUser.FlatAppearance.BorderSize = 0;
this.buttonNeuerUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonNeuerUser.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonNeuerUser.ForeColor = System.Drawing.Color.Black;
this.buttonNeuerUser.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.buttonNeuerUser.Location = new System.Drawing.Point(8, 65);
this.buttonNeuerUser.Margin = new System.Windows.Forms.Padding(2);
this.buttonNeuerUser.Name = "buttonNeuerUser";
this.buttonNeuerUser.Size = new System.Drawing.Size(200, 41);
this.buttonNeuerUser.TabIndex = 62;
this.buttonNeuerUser.Text = "Neuer User";
this.buttonNeuerUser.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.buttonNeuerUser.UseVisualStyleBackColor = false;
this.buttonNeuerUser.Click += new System.EventHandler(this.buttonNeuerUser_Click);
this.buttonNeuerUser.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Button_MouseDown);
//
// tSBBenutzerVW
//
this.tSBBenutzerVW.AutoSize = false;
this.tSBBenutzerVW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBBenutzerVW.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBBenutzerVW.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBBenutzerVW.ForeColor = System.Drawing.Color.White;
this.tSBBenutzerVW.Image = ((System.Drawing.Image)(resources.GetObject("tSBBenutzerVW.Image")));
this.tSBBenutzerVW.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBBenutzerVW.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBBenutzerVW.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBBenutzerVW.Name = "tSBBenutzerVW";
this.tSBBenutzerVW.Size = new System.Drawing.Size(180, 40);
this.tSBBenutzerVW.Text = "BENUTZERVERWALTUNG";
this.tSBBenutzerVW.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBBenutzerVW.Click += new System.EventHandler(this.tSBBenutzerVW_Click);
this.tSBBenutzerVW.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBBenutzerVW.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBBenutzerVW.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBAuftragVW
//
this.tSBAuftragVW.AutoSize = false;
this.tSBAuftragVW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBAuftragVW.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBAuftragVW.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBAuftragVW.ForeColor = System.Drawing.Color.White;
this.tSBAuftragVW.Image = ((System.Drawing.Image)(resources.GetObject("tSBAuftragVW.Image")));
this.tSBAuftragVW.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBAuftragVW.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBAuftragVW.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBAuftragVW.Name = "tSBAuftragVW";
this.tSBAuftragVW.Size = new System.Drawing.Size(180, 40);
this.tSBAuftragVW.Text = "AUFTRAGVERWALTUNG";
this.tSBAuftragVW.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBAuftragVW.ToolTipText = "Auftragkontrolle und -bearbeitung";
this.tSBAuftragVW.Click += new System.EventHandler(this.tSBAuftragVW_Click);
this.tSBAuftragVW.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBAuftragVW.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBAuftragVW.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBAufgabeVW
//
this.tSBAufgabeVW.AutoSize = false;
this.tSBAufgabeVW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBAufgabeVW.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBAufgabeVW.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBAufgabeVW.ForeColor = System.Drawing.Color.White;
this.tSBAufgabeVW.Image = ((System.Drawing.Image)(resources.GetObject("tSBAufgabeVW.Image")));
this.tSBAufgabeVW.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBAufgabeVW.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBAufgabeVW.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBAufgabeVW.Name = "tSBAufgabeVW";
this.tSBAufgabeVW.Size = new System.Drawing.Size(180, 40);
this.tSBAufgabeVW.Text = "AUFGABENVERWALTUNG";
this.tSBAufgabeVW.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBAufgabeVW.Click += new System.EventHandler(this.tSBAufgabeVW_Click);
this.tSBAufgabeVW.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBAufgabeVW.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBAufgabeVW.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBArtikelVW
//
this.tSBArtikelVW.AutoSize = false;
this.tSBArtikelVW.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBArtikelVW.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBArtikelVW.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBArtikelVW.ForeColor = System.Drawing.Color.White;
this.tSBArtikelVW.Image = ((System.Drawing.Image)(resources.GetObject("tSBArtikelVW.Image")));
this.tSBArtikelVW.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBArtikelVW.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBArtikelVW.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBArtikelVW.Name = "tSBArtikelVW";
this.tSBArtikelVW.Size = new System.Drawing.Size(180, 40);
this.tSBArtikelVW.Text = "ARTIKELVERWALTUNG";
this.tSBArtikelVW.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBArtikelVW.ToolTipText = "Artikel bearbeiten";
this.tSBArtikelVW.Click += new System.EventHandler(this.tSBArtikelVW_Click);
this.tSBArtikelVW.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBArtikelVW.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBArtikelVW.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// toolStripZaehlscheine
//
this.toolStripZaehlscheine.AutoSize = false;
this.toolStripZaehlscheine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.toolStripZaehlscheine.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripZaehlscheine.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripZaehlscheine.ForeColor = System.Drawing.Color.White;
this.toolStripZaehlscheine.Image = ((System.Drawing.Image)(resources.GetObject("toolStripZaehlscheine.Image")));
this.toolStripZaehlscheine.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripZaehlscheine.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripZaehlscheine.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripZaehlscheine.Name = "toolStripZaehlscheine";
this.toolStripZaehlscheine.Size = new System.Drawing.Size(180, 40);
this.toolStripZaehlscheine.Text = "KUNDENVERWALTUNG";
this.toolStripZaehlscheine.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripZaehlscheine.ToolTipText = "Kunde bearbeiten";
this.toolStripZaehlscheine.Click += new System.EventHandler(this.toolStripZaehlscheine_Click);
this.toolStripZaehlscheine.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.toolStripZaehlscheine.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.toolStripZaehlscheine.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBExpedit
//
this.tSBExpedit.AutoSize = false;
this.tSBExpedit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBExpedit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBExpedit.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBExpedit.ForeColor = System.Drawing.Color.White;
this.tSBExpedit.Image = ((System.Drawing.Image)(resources.GetObject("tSBExpedit.Image")));
this.tSBExpedit.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBExpedit.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBExpedit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBExpedit.Name = "tSBExpedit";
this.tSBExpedit.Size = new System.Drawing.Size(180, 40);
this.tSBExpedit.Text = "EXPEDIT";
this.tSBExpedit.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBExpedit.Click += new System.EventHandler(this.tSBExpedit_Click);
this.tSBExpedit.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBExpedit.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBExpedit.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// toolStripDB
//
this.toolStripDB.AutoSize = false;
this.toolStripDB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.toolStripDB.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripDB.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripDB.ForeColor = System.Drawing.Color.White;
this.toolStripDB.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDB.Image")));
this.toolStripDB.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripDB.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripDB.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripDB.Name = "toolStripDB";
this.toolStripDB.Size = new System.Drawing.Size(180, 40);
this.toolStripDB.Text = "DECKUNGSBEITRAG";
this.toolStripDB.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripDB.Click += new System.EventHandler(this.toolStripDB_Click);
this.toolStripDB.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.toolStripDB.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.toolStripDB.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBKosten
//
this.tSBKosten.AutoSize = false;
this.tSBKosten.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBKosten.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBKosten.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBKosten.ForeColor = System.Drawing.Color.White;
this.tSBKosten.Image = ((System.Drawing.Image)(resources.GetObject("tSBKosten.Image")));
this.tSBKosten.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBKosten.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBKosten.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBKosten.Name = "tSBKosten";
this.tSBKosten.Size = new System.Drawing.Size(180, 40);
this.tSBKosten.Text = "KOSTENLISTE";
this.tSBKosten.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBKosten.Click += new System.EventHandler(this.tSBKosten_Click);
this.tSBKosten.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBKosten.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBKosten.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// toolStripButton1
//
this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton1.AutoSize = false;
this.toolStripButton1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.BackgroundImage")));
this.toolStripButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton1.Enabled = false;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(180, 70);
this.toolStripButton1.Text = "toolStripButton1";
//
// tSBScannTest
//
this.tSBScannTest.AutoSize = false;
this.tSBScannTest.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBScannTest.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBScannTest.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBScannTest.ForeColor = System.Drawing.Color.White;
this.tSBScannTest.Image = ((System.Drawing.Image)(resources.GetObject("tSBScannTest.Image")));
this.tSBScannTest.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBScannTest.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBScannTest.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBScannTest.Name = "tSBScannTest";
this.tSBScannTest.Size = new System.Drawing.Size(180, 40);
this.tSBScannTest.Text = "SCANN TEST";
this.tSBScannTest.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBScannTest.Click += new System.EventHandler(this.tSBScannTest_Click);
this.tSBScannTest.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.tSBScannTest.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.tSBScannTest.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBHilfe
//
this.tSBHilfe.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.tSBHilfe.AutoSize = false;
this.tSBHilfe.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.tSBHilfe.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBHilfe.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBHilfe.ForeColor = System.Drawing.Color.White;
this.tSBHilfe.Image = ((System.Drawing.Image)(resources.GetObject("tSBHilfe.Image")));
this.tSBHilfe.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBHilfe.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.tSBHilfe.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBHilfe.Name = "tSBHilfe";
this.tSBHilfe.Size = new System.Drawing.Size(180, 40);
this.tSBHilfe.Text = "HILFE";
this.tSBHilfe.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBHilfe.Click += new System.EventHandler(this.tSBHilfe_Click);
//
// toolStripButtonImport
//
this.toolStripButtonImport.AutoSize = false;
this.toolStripButtonImport.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.toolStripButtonImport.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripButtonImport.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripButtonImport.ForeColor = System.Drawing.Color.White;
this.toolStripButtonImport.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonImport.Image")));
this.toolStripButtonImport.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripButtonImport.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripButtonImport.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonImport.Name = "toolStripButtonImport";
this.toolStripButtonImport.Size = new System.Drawing.Size(180, 40);
this.toolStripButtonImport.Text = "IMPORT";
this.toolStripButtonImport.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripButtonImport.Click += new System.EventHandler(this.toolStripButtonImport_Click);
this.toolStripButtonImport.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.toolStripButtonImport.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.toolStripButtonImport.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// tSBEinstellung
//
this.tSBEinstellung.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.tSBEinstellung.AutoSize = false;
this.tSBEinstellung.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tSBEinstellung.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tSBEinstellung.ForeColor = System.Drawing.Color.White;
this.tSBEinstellung.Image = ((System.Drawing.Image)(resources.GetObject("tSBEinstellung.Image")));
this.tSBEinstellung.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBEinstellung.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tSBEinstellung.Name = "tSBEinstellung";
this.tSBEinstellung.Size = new System.Drawing.Size(180, 40);
this.tSBEinstellung.Text = "EINSTELLUNG";
this.tSBEinstellung.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.tSBEinstellung.Click += new System.EventHandler(this.tSBEinstellung_Click);
//
// toolStripBeenden
//
this.toolStripBeenden.AutoSize = false;
this.toolStripBeenden.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(53)))), ((int)(((byte)(101)))));
this.toolStripBeenden.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripBeenden.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripBeenden.ForeColor = System.Drawing.Color.White;
this.toolStripBeenden.Image = ((System.Drawing.Image)(resources.GetObject("toolStripBeenden.Image")));
this.toolStripBeenden.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripBeenden.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripBeenden.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripBeenden.Name = "toolStripBeenden";
this.toolStripBeenden.Size = new System.Drawing.Size(180, 40);
this.toolStripBeenden.Text = "BEENDEN";
this.toolStripBeenden.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripBeenden.Click += new System.EventHandler(this.toolStripBeenden_Click);
this.toolStripBeenden.MouseEnter += new System.EventHandler(this.toolStrip_MouseEnter);
this.toolStripBeenden.MouseLeave += new System.EventHandler(this.toolStrip_MouseLeave);
this.toolStripBeenden.Paint += new System.Windows.Forms.PaintEventHandler(this.get_Border_Paint);
//
// pictureBoxScannTest
//
this.pictureBoxScannTest.Location = new System.Drawing.Point(6, 10);
this.pictureBoxScannTest.Name = "pictureBoxScannTest";
this.pictureBoxScannTest.Size = new System.Drawing.Size(179, 160);
this.pictureBoxScannTest.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBoxScannTest.TabIndex = 14;
this.pictureBoxScannTest.TabStop = false;
this.pictureBoxScannTest.Visible = false;
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -990,6 +992,7 @@ namespace Deckungsbeitrag
this.Text = "Wolfgang Wirl GmbH - GRUNDPROGRAMM";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.HelpButtonClicked += new System.ComponentModel.CancelEventHandler(this.FormMain_HelpButtonClicked);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormMain_FormClosing);
this.Load += new System.EventHandler(this.FormMain_Load);
this.toolStripMenu.ResumeLayout(false);
this.toolStripMenu.PerformLayout();

View File

@ -14,6 +14,7 @@ using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml.Serialization;
using Timer = System.Windows.Forms.Timer;
namespace Deckungsbeitrag
{
@ -29,11 +30,16 @@ namespace Deckungsbeitrag
public FormMain()
{
InitializeComponent();
this.toolStripMenu.Size = new Size(toolStripButton1.Size.Width + 20, this.Height);
//this.panelMain.Location = new Point(toolStripMenu.Right + 10, 12);
}
public FormMain(Benutzer benutzer) : this()
this.toolStripMenu.Size = new Size(toolStripButton1.Size.Width + 20, this.Height);
//this.panelMain.Location = new Point(toolStripMenu.Right + 10, 12);
if (Properties.Settings.Default.Location_ButtonNeuerAuftrag_Main != Point.Empty) this.buttonNeuerAuftrag.Location = Properties.Settings.Default.Location_ButtonNeuerAuftrag_Main;
if (Properties.Settings.Default.Location_ButtonNeuerUser_Main != Point.Empty) this.buttonNeuerUser.Location = Properties.Settings.Default.Location_ButtonNeuerUser_Main;
if (Properties.Settings.Default.Location_GroupBoxStatistik_Main != Point.Empty) this.groupBoxStatistik.Location = Properties.Settings.Default.Location_GroupBoxStatistik_Main;
}
public FormMain(Benutzer benutzer) : this()
{
this.benutzer = benutzer;
//AKTIVE ELEMENTE JE BENUTZER ROLLE
@ -816,7 +822,9 @@ namespace Deckungsbeitrag
Button btn = (Button)sender;
if (btn != null && e.Button == MouseButtons.Left)
{
btn.DoDragDrop(btn, DragDropEffects.Move);
//btn.DoDragDrop(btn, DragDropEffects.Move);
dragStartPoint = e.Location;
isDragging = false;
}
}
private void panelMain_DragEnter(object sender, DragEventArgs e)
@ -828,15 +836,37 @@ namespace Deckungsbeitrag
}
private void panelMain_DragDrop(object sender, DragEventArgs e)
{
Button btn = e.Data.GetData(typeof(Button)) as Button;
if (btn != null)
if (isDragging)
{
Point p = this.panelMain.PointToClient(new Point(e.X, e.Y));
btn.Location = p;
Button btn = e.Data.GetData(typeof(Button)) as Button;
if (btn != null)
{
Point p = this.panelMain.PointToClient(new Point(e.X, e.Y));
btn.Location = new Point(p.X - btn.Width / 2, p.Y - btn.Height / 2);
}
}
}
private void Button_MouseMove(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
var dx = Math.Abs(e.X - dragStartPoint.X);
var dy = Math.Abs(e.Y - dragStartPoint.Y);
if (!isDragging && (dx > SystemInformation.DragSize.Width || dy > SystemInformation.DragSize.Height))
{
isDragging = true;
var btn = sender as Button;
btn.DoDragDrop(btn, DragDropEffects.Move);
}
}
}
private void Button_MouseUp(object sender, MouseEventArgs e)
{
var btn = sender as Button;
if (!isDragging)
{
//btn?.PerformClick(); // oder der normale Click-Event-Handler wird aufgerufen
}
if (btn.Name.Contains("NeuerUser")) Properties.Settings.Default.Location_ButtonNeuerUser_Main = btn.Location;
if (btn.Name.Contains("NeuerAuftrag")) Properties.Settings.Default.Location_ButtonNeuerAuftrag_Main = btn.Location;
Properties.Settings.Default.Save();
}
/// <summary>
@ -850,6 +880,34 @@ namespace Deckungsbeitrag
neuerBenutzer.ShowDialog();
}
/// <summary>
/// Settings speichern bei Form_Closing.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
{
try
{
Properties.Settings.Default.Location_ButtonNeuerAuftrag_Main = this.buttonNeuerAuftrag.Location;
Properties.Settings.Default.Location_ButtonNeuerUser_Main = this.buttonNeuerUser.Location;
Properties.Settings.Default.Location_GroupBoxStatistik_Main = this.groupBoxStatistik.Location;
Properties.Settings.Default.Save();
}
catch (Exception ex)
{
MessageBox.Show("Fehler beim Speichern" + ex.Message);
}
}
private void buttonNeuerAuftrag_MouseHover(object sender, EventArgs e)
{
}
}
}

View File

@ -64,7 +64,8 @@ namespace Deckungsbeitrag
private void FormNeuerAuftrag_Load(object sender, EventArgs e)
{
this.kunde = Funktionen.KundenAuswahl();
Load_Controls();
//TODO: Umbauen damit kein Fehler wenn KundenAuswahl negativ endet.
this.label1.Text = this.textBoxZusatz.Text.Length.ToString() + "/" + this.textBoxZusatz.MaxLength.ToString();
sortimentListe = (List<Sortiment>)Funktionen.SortimentLesen("Liste");
@ -88,7 +89,9 @@ namespace Deckungsbeitrag
this.comboBoxTyp.SelectedIndex = 1;
}
}
}
/// <summary>
/// Div Controls werden geladen. Darunter RadioButtons, ComboBox und GridView.

View File

@ -1657,6 +1657,36 @@
<metadata name="KorrekturBearbeitet.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="KundeArtikelID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="KundeID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ArtikelNR.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ArtikelName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Stand.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Fehlmenge.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Korrektur.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="StandBearbeitet.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="FehlmengeBearbeitet.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="KorrekturBearbeitet.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAAAAAAAEAIAC5FQAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAEAAAABAAgGAAAAXHKoZgAAAAFv

View File

@ -4,6 +4,9 @@
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="Deckungsbeitrag.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Deckungsbeitrag.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<appSettings>
<add key="ConnectionString" value="user id=postgres;password=Ki985941Wi;host=10.10.10.1;port=5432;database=Wirl_DB_17012023;Timeout=5" />
@ -85,9 +88,6 @@
<setting name="OLVState" serializeAs="String">
<value />
</setting>
<setting name="Wirlblau" serializeAs="String">
<value>1, 53, 101</value>
</setting>
<setting name="ColPos" serializeAs="String">
<value />
</setting>
@ -162,4 +162,11 @@
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source = |SQL/CE|" />
</connectionStrings>
<applicationSettings>
<Deckungsbeitrag.Properties.Settings>
<setting name="Wirlblau" serializeAs="String">
<value>1, 53, 101</value>
</setting>
</Deckungsbeitrag.Properties.Settings>
</applicationSettings>
</configuration>

View File

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

View File

@ -35,16 +35,13 @@ namespace Deckungsbeitrag.Properties {
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("1, 53, 101")]
public global::System.Drawing.Color Wirlblau {
get {
return ((global::System.Drawing.Color)(this["Wirlblau"]));
}
set {
this["Wirlblau"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]

View File

@ -5,7 +5,7 @@
<Setting Name="OLVState" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="Wirlblau" Type="System.Drawing.Color" Scope="User">
<Setting Name="Wirlblau" Type="System.Drawing.Color" Scope="Application">
<Value Profile="(Default)">1, 53, 101</Value>
</Setting>
<Setting Name="ColPos" Type="System.Drawing.Color" Scope="User">