From 7f902b439f37eaae96c2af0ca91fb8cc2e47b58a Mon Sep 17 00:00:00 2001 From: Christopher Meinhold Date: Fri, 20 Dec 2024 08:35:06 +0100 Subject: [PATCH] =?UTF-8?q?-Tab=20Kommunikation=20und=20Dokumentation=20ge?= =?UTF-8?q?f=C3=BCllt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RHS-Sachsen/Form1.Designer.cs | 232 +++++++++++++++++++++++++++++++++- RHS-Sachsen/Form1.cs | 6 + 2 files changed, 231 insertions(+), 7 deletions(-) diff --git a/RHS-Sachsen/Form1.Designer.cs b/RHS-Sachsen/Form1.Designer.cs index 855fe6a..b1f9acc 100644 --- a/RHS-Sachsen/Form1.Designer.cs +++ b/RHS-Sachsen/Form1.Designer.cs @@ -162,6 +162,22 @@ txtAndere = new TextBox(); tabPage6 = new TabPage(); tableLayoutPanel3 = new TableLayoutPanel(); + label54 = new Label(); + label55 = new Label(); + label56 = new Label(); + label57 = new Label(); + label58 = new Label(); + label59 = new Label(); + txtZFRettungshunde = new TextBox(); + txtGesamteinsatzleiter = new TextBox(); + txtEmailadresse = new TextBox(); + txtTMOGruppe = new TextBox(); + txtDMOGruppe = new TextBox(); + txtPolizeiTagebuchnummer = new TextBox(); + txtEinsatznummer = new TextBox(); + label60 = new Label(); + label61 = new Label(); + cmbBelehrung = new ComboBox(); tabPage7 = new TabPage(); tableLayoutPanel2 = new TableLayoutPanel(); tableLayoutPanel1.SuspendLayout(); @@ -176,6 +192,7 @@ tabPage5.SuspendLayout(); tableLayoutPanel4.SuspendLayout(); tabPage6.SuspendLayout(); + tableLayoutPanel3.SuspendLayout(); tabPage7.SuspendLayout(); SuspendLayout(); // @@ -1700,18 +1717,201 @@ // // tableLayoutPanel3 // - tableLayoutPanel3.ColumnCount = 2; - tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); - tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); + tableLayoutPanel3.ColumnCount = 6; + tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25.56391F)); + tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 19.33405F)); + tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 16.1117077F)); + tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 5.585392F)); + tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 16.666666F)); + tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 16.666666F)); + tableLayoutPanel3.Controls.Add(label54, 0, 0); + tableLayoutPanel3.Controls.Add(label55, 0, 1); + tableLayoutPanel3.Controls.Add(label56, 0, 2); + tableLayoutPanel3.Controls.Add(label57, 0, 3); + tableLayoutPanel3.Controls.Add(label58, 0, 4); + tableLayoutPanel3.Controls.Add(label59, 0, 5); + tableLayoutPanel3.Controls.Add(txtZFRettungshunde, 1, 0); + tableLayoutPanel3.Controls.Add(txtGesamteinsatzleiter, 1, 1); + tableLayoutPanel3.Controls.Add(txtEmailadresse, 1, 2); + tableLayoutPanel3.Controls.Add(txtTMOGruppe, 1, 3); + tableLayoutPanel3.Controls.Add(txtDMOGruppe, 1, 4); + tableLayoutPanel3.Controls.Add(txtPolizeiTagebuchnummer, 1, 5); + tableLayoutPanel3.Controls.Add(txtEinsatznummer, 1, 6); + tableLayoutPanel3.Controls.Add(label60, 0, 6); + tableLayoutPanel3.Controls.Add(label61, 0, 7); + tableLayoutPanel3.Controls.Add(cmbBelehrung, 2, 7); tableLayoutPanel3.Dock = DockStyle.Fill; tableLayoutPanel3.Location = new Point(3, 3); tableLayoutPanel3.Name = "tableLayoutPanel3"; - tableLayoutPanel3.RowCount = 2; - tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); - tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); + tableLayoutPanel3.RowCount = 9; + tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); tableLayoutPanel3.Size = new Size(931, 458); tableLayoutPanel3.TabIndex = 0; // + // label54 + // + label54.Anchor = AnchorStyles.Left; + label54.AutoSize = true; + label54.Location = new Point(3, 7); + label54.Name = "label54"; + label54.Size = new Size(222, 15); + label54.TabIndex = 0; + label54.Text = "Zugführer Rettungshunde / Rufnummer:"; + // + // label55 + // + label55.Anchor = AnchorStyles.Left; + label55.AutoSize = true; + label55.Location = new Point(3, 37); + label55.Name = "label55"; + label55.Size = new Size(187, 15); + label55.TabIndex = 1; + label55.Text = "Gesamteinsatzleiter / Rufnummer:"; + // + // label56 + // + label56.Anchor = AnchorStyles.Left; + label56.AutoSize = true; + label56.Location = new Point(3, 67); + label56.Name = "label56"; + label56.Size = new Size(153, 15); + label56.TabIndex = 2; + label56.Text = "e-Mail Adresse Einsatzleiter:"; + // + // label57 + // + label57.Anchor = AnchorStyles.Left; + label57.AutoSize = true; + label57.Location = new Point(3, 97); + label57.Name = "label57"; + label57.Size = new Size(163, 15); + label57.TabIndex = 3; + label57.Text = "TMO Gruppe Rettungshunde:"; + // + // label58 + // + label58.Anchor = AnchorStyles.Left; + label58.AutoSize = true; + label58.Location = new Point(3, 127); + label58.Name = "label58"; + label58.Size = new Size(164, 15); + label58.TabIndex = 4; + label58.Text = "DMO Gruppe Rettungshunde:"; + // + // label59 + // + label59.Anchor = AnchorStyles.Left; + label59.AutoSize = true; + label59.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 0); + label59.Location = new Point(3, 157); + label59.Name = "label59"; + label59.Size = new Size(150, 15); + label59.TabIndex = 5; + label59.Text = "Tagebuchnummer Polizei:"; + // + // txtZFRettungshunde + // + tableLayoutPanel3.SetColumnSpan(txtZFRettungshunde, 2); + txtZFRettungshunde.Dock = DockStyle.Fill; + txtZFRettungshunde.Location = new Point(241, 3); + txtZFRettungshunde.Name = "txtZFRettungshunde"; + txtZFRettungshunde.Size = new Size(324, 23); + txtZFRettungshunde.TabIndex = 9; + // + // txtGesamteinsatzleiter + // + tableLayoutPanel3.SetColumnSpan(txtGesamteinsatzleiter, 2); + txtGesamteinsatzleiter.Dock = DockStyle.Fill; + txtGesamteinsatzleiter.Location = new Point(241, 33); + txtGesamteinsatzleiter.Name = "txtGesamteinsatzleiter"; + txtGesamteinsatzleiter.Size = new Size(324, 23); + txtGesamteinsatzleiter.TabIndex = 10; + // + // txtEmailadresse + // + tableLayoutPanel3.SetColumnSpan(txtEmailadresse, 2); + txtEmailadresse.Dock = DockStyle.Fill; + txtEmailadresse.Location = new Point(241, 63); + txtEmailadresse.Name = "txtEmailadresse"; + txtEmailadresse.Size = new Size(324, 23); + txtEmailadresse.TabIndex = 11; + // + // txtTMOGruppe + // + tableLayoutPanel3.SetColumnSpan(txtTMOGruppe, 2); + txtTMOGruppe.Dock = DockStyle.Fill; + txtTMOGruppe.Location = new Point(241, 93); + txtTMOGruppe.Name = "txtTMOGruppe"; + txtTMOGruppe.Size = new Size(324, 23); + txtTMOGruppe.TabIndex = 12; + // + // txtDMOGruppe + // + tableLayoutPanel3.SetColumnSpan(txtDMOGruppe, 2); + txtDMOGruppe.Dock = DockStyle.Fill; + txtDMOGruppe.Location = new Point(241, 123); + txtDMOGruppe.Name = "txtDMOGruppe"; + txtDMOGruppe.Size = new Size(324, 23); + txtDMOGruppe.TabIndex = 13; + // + // txtPolizeiTagebuchnummer + // + tableLayoutPanel3.SetColumnSpan(txtPolizeiTagebuchnummer, 2); + txtPolizeiTagebuchnummer.Dock = DockStyle.Fill; + txtPolizeiTagebuchnummer.Location = new Point(241, 153); + txtPolizeiTagebuchnummer.Name = "txtPolizeiTagebuchnummer"; + txtPolizeiTagebuchnummer.Size = new Size(324, 23); + txtPolizeiTagebuchnummer.TabIndex = 14; + // + // txtEinsatznummer + // + tableLayoutPanel3.SetColumnSpan(txtEinsatznummer, 2); + txtEinsatznummer.Dock = DockStyle.Fill; + txtEinsatznummer.Location = new Point(241, 183); + txtEinsatznummer.Name = "txtEinsatznummer"; + txtEinsatznummer.Size = new Size(324, 23); + txtEinsatznummer.TabIndex = 15; + // + // label60 + // + label60.Anchor = AnchorStyles.Left; + label60.AutoSize = true; + label60.Location = new Point(3, 187); + label60.Name = "label60"; + label60.Size = new Size(186, 15); + label60.TabIndex = 6; + label60.Text = "eigene Einsatznummer (jjjj,mm,tt)"; + label60.DoubleClick += label60_DoubleClick; + // + // label61 + // + label61.Anchor = AnchorStyles.Left; + label61.AutoSize = true; + tableLayoutPanel3.SetColumnSpan(label61, 2); + label61.Location = new Point(3, 217); + label61.Name = "label61"; + label61.Size = new Size(386, 15); + label61.TabIndex = 7; + label61.Text = "Belehrung über Grenzen des Einsatzmittels Rettungshund durchgeführt?"; + // + // cmbBelehrung + // + cmbBelehrung.Dock = DockStyle.Fill; + cmbBelehrung.FormattingEnabled = true; + cmbBelehrung.Items.AddRange(new object[] { "ja", "nein" }); + cmbBelehrung.Location = new Point(421, 213); + cmbBelehrung.Name = "cmbBelehrung"; + cmbBelehrung.Size = new Size(144, 23); + cmbBelehrung.TabIndex = 16; + // // tabPage7 // tabPage7.Controls.Add(tableLayoutPanel2); @@ -1744,7 +1944,7 @@ ClientSize = new Size(945, 492); Controls.Add(tabControl1); Name = "Form1"; - Text = "Form1"; + Text = "Information für die Zugführung Vermisstensuche Fläche"; tableLayoutPanel1.ResumeLayout(false); tableLayoutPanel1.PerformLayout(); tabControl1.ResumeLayout(false); @@ -1762,6 +1962,8 @@ tableLayoutPanel4.ResumeLayout(false); tableLayoutPanel4.PerformLayout(); tabPage6.ResumeLayout(false); + tableLayoutPanel3.ResumeLayout(false); + tableLayoutPanel3.PerformLayout(); tabPage7.ResumeLayout(false); ResumeLayout(false); } @@ -1904,5 +2106,21 @@ private CheckBox chkPolizeihundFährte; private TextBox txtRettungshunde; private TextBox txtAndere; + private Label label54; + private Label label55; + private Label label56; + private Label label57; + private Label label60; + private Label label58; + private Label label59; + private TextBox txtZFRettungshunde; + private TextBox txtGesamteinsatzleiter; + private TextBox txtEmailadresse; + private TextBox txtTMOGruppe; + private TextBox txtDMOGruppe; + private TextBox txtPolizeiTagebuchnummer; + private TextBox txtEinsatznummer; + private Label label61; + private ComboBox cmbBelehrung; } } diff --git a/RHS-Sachsen/Form1.cs b/RHS-Sachsen/Form1.cs index 515cfa5..e2731c4 100644 --- a/RHS-Sachsen/Form1.cs +++ b/RHS-Sachsen/Form1.cs @@ -171,5 +171,11 @@ namespace RHS_Sachsen txtAndere.Visible = false; } } + + private void label60_DoubleClick(object sender, EventArgs e) + { + String einsatznummer = DateTime.Now.ToString("yyyy") + DateTime.Now.ToString("MM") + DateTime.Now.ToString("dd"); + txtEinsatznummer.Text = einsatznummer; + } } }