diff --git a/RHS-Sachsen/Form1.Designer.cs b/RHS-Sachsen/Form1.Designer.cs index b1f9acc..d7acf3c 100644 --- a/RHS-Sachsen/Form1.Designer.cs +++ b/RHS-Sachsen/Form1.Designer.cs @@ -30,14 +30,11 @@ { tableLayoutPanel1 = new TableLayoutPanel(); label1 = new Label(); - txtVerfasser = new TextBox(); label2 = new Label(); lblEinsatzort = new Label(); label4 = new Label(); label5 = new Label(); lblSuchgebiergröße = new Label(); - txtAlarmierung = new TextBox(); - txtAnforderung = new TextBox(); txtEinsatzort = new TextBox(); txtSuchgebietgroesse = new TextBox(); dtpDatum = new DateTimePicker(); @@ -54,6 +51,9 @@ txtRufnummer = new TextBox(); txtFunk1 = new TextBox(); txtFunk2 = new TextBox(); + cmbVerfasser = new ComboBox(); + cmbAlarmierungDurch = new ComboBox(); + cmbAnforderungDurch = new ComboBox(); tabControl1 = new TabControl(); tabPage1 = new TabPage(); tabPage2 = new TabPage(); @@ -144,6 +144,9 @@ label50 = new Label(); label51 = new Label(); label52 = new Label(); + txtTemperatur = new TextBox(); + cmbWetterlage = new ComboBox(); + cmbWind = new ComboBox(); tabPage5 = new TabPage(); tableLayoutPanel4 = new TableLayoutPanel(); chkPolizeiStreifen = new CheckBox(); @@ -168,18 +171,28 @@ 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(); + cmbTMOGruppe = new ComboBox(); + comboBox5 = new ComboBox(); tabPage7 = new TabPage(); tableLayoutPanel2 = new TableLayoutPanel(); + lblDatum = new Label(); + lblUhrzeit = new Label(); + label62 = new Label(); + label63 = new Label(); + label64 = new Label(); + cmbArt = new ComboBox(); + cmbGrund = new ComboBox(); + cmbBeendetDurch = new ComboBox(); + txtDatum = new MaskedTextBox(); + txtUhrzeit = new MaskedTextBox(); tableLayoutPanel1.SuspendLayout(); tabControl1.SuspendLayout(); tabPage1.SuspendLayout(); @@ -194,6 +207,7 @@ tabPage6.SuspendLayout(); tableLayoutPanel3.SuspendLayout(); tabPage7.SuspendLayout(); + tableLayoutPanel2.SuspendLayout(); SuspendLayout(); // // tableLayoutPanel1 @@ -204,14 +218,11 @@ tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 14.875F)); tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 35.125F)); tableLayoutPanel1.Controls.Add(label1, 0, 0); - tableLayoutPanel1.Controls.Add(txtVerfasser, 1, 0); tableLayoutPanel1.Controls.Add(label2, 2, 0); tableLayoutPanel1.Controls.Add(lblEinsatzort, 2, 1); tableLayoutPanel1.Controls.Add(label4, 0, 1); tableLayoutPanel1.Controls.Add(label5, 0, 2); tableLayoutPanel1.Controls.Add(lblSuchgebiergröße, 2, 2); - tableLayoutPanel1.Controls.Add(txtAlarmierung, 1, 1); - tableLayoutPanel1.Controls.Add(txtAnforderung, 1, 2); tableLayoutPanel1.Controls.Add(txtEinsatzort, 3, 1); tableLayoutPanel1.Controls.Add(txtSuchgebietgroesse, 3, 2); tableLayoutPanel1.Controls.Add(dtpDatum, 3, 0); @@ -228,6 +239,9 @@ tableLayoutPanel1.Controls.Add(txtRufnummer, 1, 6); tableLayoutPanel1.Controls.Add(txtFunk1, 3, 5); tableLayoutPanel1.Controls.Add(txtFunk2, 3, 6); + tableLayoutPanel1.Controls.Add(cmbVerfasser, 1, 0); + tableLayoutPanel1.Controls.Add(cmbAlarmierungDurch, 1, 1); + tableLayoutPanel1.Controls.Add(cmbAnforderungDurch, 1, 2); tableLayoutPanel1.Dock = DockStyle.Fill; tableLayoutPanel1.Location = new Point(3, 3); tableLayoutPanel1.Name = "tableLayoutPanel1"; @@ -258,14 +272,6 @@ label1.TabIndex = 1; label1.Text = "Verfasser / Org."; // - // txtVerfasser - // - txtVerfasser.Dock = DockStyle.Fill; - txtVerfasser.Location = new Point(172, 3); - txtVerfasser.Name = "txtVerfasser"; - txtVerfasser.Size = new Size(289, 23); - txtVerfasser.TabIndex = 0; - // // label2 // label2.Anchor = AnchorStyles.Left; @@ -316,22 +322,6 @@ lblSuchgebiergröße.TabIndex = 6; lblSuchgebiergröße.Text = "Größe Suchgebiet:"; // - // txtAlarmierung - // - txtAlarmierung.Dock = DockStyle.Fill; - txtAlarmierung.Location = new Point(172, 33); - txtAlarmierung.Name = "txtAlarmierung"; - txtAlarmierung.Size = new Size(289, 23); - txtAlarmierung.TabIndex = 2; - // - // txtAnforderung - // - txtAnforderung.Dock = DockStyle.Fill; - txtAnforderung.Location = new Point(172, 63); - txtAnforderung.Name = "txtAnforderung"; - txtAnforderung.Size = new Size(289, 23); - txtAnforderung.TabIndex = 4; - // // txtEinsatzort // txtEinsatzort.Dock = DockStyle.Fill; @@ -477,6 +467,36 @@ txtFunk2.Size = new Size(323, 23); txtFunk2.TabIndex = 10; // + // cmbVerfasser + // + cmbVerfasser.Dock = DockStyle.Fill; + cmbVerfasser.FormattingEnabled = true; + cmbVerfasser.Items.AddRange(new object[] { "Norbert Herbst / BRH RHS Sachsen-Ost", "Axel Klemmer / BRH RHS Sachsen-Ost", "Jens Andörfer / / BRH RHS Kamenzer Land e.V.", "Matthias Gierth / DRK Freital", "Sebastian Kupke / JUH RHS Leipzig", "John Hofmann / DRK RHS Freital", "Maik Heyne / DRK RHS Freital", "Philipp Gläser / BRH RHS Sachsen-Ost" }); + cmbVerfasser.Location = new Point(172, 3); + cmbVerfasser.Name = "cmbVerfasser"; + cmbVerfasser.Size = new Size(289, 23); + cmbVerfasser.TabIndex = 22; + // + // cmbAlarmierungDurch + // + cmbAlarmierungDurch.Dock = DockStyle.Fill; + cmbAlarmierungDurch.FormattingEnabled = true; + cmbAlarmierungDurch.Items.AddRange(new object[] { "Rettungshundestaffel", "Deutsches Rotes Kreuz Koordinierungsstelle", "Polizeidirektion Dresden Lagezentrum", "Polizeidirektion Görlitz Lagezentrum", "Polizeidirektion Leipzig Lagezentrum", "Polizeidirektion Chemnitz Lagezentrum", "Polizeidirektion Zwickau Lagezentrum", "IRLST Dresden", "IRLST Ostsachsen", "IRLST Leipzig", "IRLST Chemnitz", "IRLST Zwickau" }); + cmbAlarmierungDurch.Location = new Point(172, 33); + cmbAlarmierungDurch.Name = "cmbAlarmierungDurch"; + cmbAlarmierungDurch.Size = new Size(289, 23); + cmbAlarmierungDurch.TabIndex = 23; + // + // cmbAnforderungDurch + // + cmbAnforderungDurch.Dock = DockStyle.Fill; + cmbAnforderungDurch.FormattingEnabled = true; + cmbAnforderungDurch.Items.AddRange(new object[] { "Diensthundeschule Naustadt", "Polizeirevier", "Polizeidirektion Dresden Lagezentrum", "Polizeidirektion Görlitz Lagezentrum", "Polizeidirektion Leipzig Lagezentrum", "Polizeidirektion Chemnitz Lagezentrum", "Polizeidirektion Zwickau Lagezentrum", "IRLST Dresden", "IRLST Ostsachsen", "IRLST Leipzig", "IRLST Chemnitz", "IRLST Zwickau", "Feuerwehr" }); + cmbAnforderungDurch.Location = new Point(172, 63); + cmbAnforderungDurch.Name = "cmbAnforderungDurch"; + cmbAnforderungDurch.Size = new Size(289, 23); + cmbAnforderungDurch.TabIndex = 24; + // // tabControl1 // tabControl1.Controls.Add(tabPage1); @@ -1273,6 +1293,9 @@ tableLayoutPanel5.Controls.Add(label50, 3, 7); tableLayoutPanel5.Controls.Add(label51, 3, 8); tableLayoutPanel5.Controls.Add(label52, 3, 9); + tableLayoutPanel5.Controls.Add(txtTemperatur, 1, 8); + tableLayoutPanel5.Controls.Add(cmbWetterlage, 1, 7); + tableLayoutPanel5.Controls.Add(cmbWind, 1, 9); tableLayoutPanel5.Dock = DockStyle.Fill; tableLayoutPanel5.Location = new Point(3, 3); tableLayoutPanel5.Name = "tableLayoutPanel5"; @@ -1503,6 +1526,37 @@ label52.TabIndex = 17; label52.Text = "Taxi und Bus abgefragt:"; // + // txtTemperatur + // + tableLayoutPanel5.SetColumnSpan(txtTemperatur, 2); + txtTemperatur.Dock = DockStyle.Fill; + txtTemperatur.Location = new Point(239, 243); + txtTemperatur.Name = "txtTemperatur"; + txtTemperatur.Size = new Size(223, 23); + txtTemperatur.TabIndex = 21; + // + // cmbWetterlage + // + tableLayoutPanel5.SetColumnSpan(cmbWetterlage, 2); + cmbWetterlage.Dock = DockStyle.Fill; + cmbWetterlage.FormattingEnabled = true; + cmbWetterlage.Items.AddRange(new object[] { "Normal", "leicht verregnet", "Regnerisch", "Starkregen", "leichter Schneefall", "starker Schneefall", "verschneit", "sonnig", "Extremlage Hitze", "Extremlage Kälte" }); + cmbWetterlage.Location = new Point(239, 213); + cmbWetterlage.Name = "cmbWetterlage"; + cmbWetterlage.Size = new Size(223, 23); + cmbWetterlage.TabIndex = 22; + // + // cmbWind + // + tableLayoutPanel5.SetColumnSpan(cmbWind, 2); + cmbWind.Dock = DockStyle.Fill; + cmbWind.FormattingEnabled = true; + cmbWind.Items.AddRange(new object[] { "windstill", "leichter Wind", "mäßiger Wind", "stürmisch", "orkanartig" }); + cmbWind.Location = new Point(239, 273); + cmbWind.Name = "cmbWind"; + cmbWind.Size = new Size(223, 23); + cmbWind.TabIndex = 23; + // // tabPage5 // tabPage5.Controls.Add(tableLayoutPanel4); @@ -1730,16 +1784,16 @@ 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.Controls.Add(cmbTMOGruppe, 1, 3); + tableLayoutPanel3.Controls.Add(comboBox5, 1, 0); tableLayoutPanel3.Dock = DockStyle.Fill; tableLayoutPanel3.Location = new Point(3, 3); tableLayoutPanel3.Name = "tableLayoutPanel3"; @@ -1817,15 +1871,6 @@ 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); @@ -1844,15 +1889,6 @@ 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); @@ -1912,6 +1948,28 @@ cmbBelehrung.Size = new Size(144, 23); cmbBelehrung.TabIndex = 16; // + // cmbTMOGruppe + // + tableLayoutPanel3.SetColumnSpan(cmbTMOGruppe, 2); + cmbTMOGruppe.Dock = DockStyle.Fill; + cmbTMOGruppe.FormattingEnabled = true; + cmbTMOGruppe.Items.AddRange(new object[] { "1744 KatsRH Meissen", "2944 KatsRH Bautzen" }); + cmbTMOGruppe.Location = new Point(241, 93); + cmbTMOGruppe.Name = "cmbTMOGruppe"; + cmbTMOGruppe.Size = new Size(324, 23); + cmbTMOGruppe.TabIndex = 17; + // + // comboBox5 + // + tableLayoutPanel3.SetColumnSpan(comboBox5, 2); + comboBox5.Dock = DockStyle.Fill; + comboBox5.FormattingEnabled = true; + comboBox5.Items.AddRange(new object[] { "Norbert Herbst 01738853549 Alarmtel. 01733838808", "Axel Klemmer 01727954121 Alarmtel. 01733838808", "Jens Andörfer 01633548016" }); + comboBox5.Location = new Point(241, 3); + comboBox5.Name = "comboBox5"; + comboBox5.Size = new Size(324, 23); + comboBox5.TabIndex = 18; + // // tabPage7 // tabPage7.Controls.Add(tableLayoutPanel2); @@ -1925,18 +1983,134 @@ // // tableLayoutPanel2 // - tableLayoutPanel2.ColumnCount = 2; - tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); - tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); + tableLayoutPanel2.ColumnCount = 6; + tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 16.666666F)); + tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 23.0934486F)); + tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 7.518797F)); + tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 31.68636F)); + tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 4.29645538F)); + tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 16.666666F)); + tableLayoutPanel2.Controls.Add(lblDatum, 0, 0); + tableLayoutPanel2.Controls.Add(lblUhrzeit, 0, 1); + tableLayoutPanel2.Controls.Add(label62, 0, 2); + tableLayoutPanel2.Controls.Add(label63, 2, 0); + tableLayoutPanel2.Controls.Add(label64, 2, 1); + tableLayoutPanel2.Controls.Add(cmbArt, 3, 0); + tableLayoutPanel2.Controls.Add(cmbGrund, 3, 1); + tableLayoutPanel2.Controls.Add(cmbBeendetDurch, 1, 2); + tableLayoutPanel2.Controls.Add(txtDatum, 1, 0); + tableLayoutPanel2.Controls.Add(txtUhrzeit, 1, 1); tableLayoutPanel2.Dock = DockStyle.Fill; tableLayoutPanel2.Location = new Point(3, 3); tableLayoutPanel2.Name = "tableLayoutPanel2"; - tableLayoutPanel2.RowCount = 2; - tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); - tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); + tableLayoutPanel2.RowCount = 6; + tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); + tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); tableLayoutPanel2.Size = new Size(931, 458); tableLayoutPanel2.TabIndex = 0; // + // lblDatum + // + lblDatum.Anchor = AnchorStyles.Left; + lblDatum.AutoSize = true; + lblDatum.Location = new Point(3, 7); + lblDatum.Name = "lblDatum"; + lblDatum.Size = new Size(46, 15); + lblDatum.TabIndex = 0; + lblDatum.Text = "Datum:"; + lblDatum.DoubleClick += lblDatum_DoubleClick; + // + // lblUhrzeit + // + lblUhrzeit.Anchor = AnchorStyles.Left; + lblUhrzeit.AutoSize = true; + lblUhrzeit.Location = new Point(3, 37); + lblUhrzeit.Name = "lblUhrzeit"; + lblUhrzeit.Size = new Size(47, 15); + lblUhrzeit.TabIndex = 1; + lblUhrzeit.Text = "Uhrzeit:"; + lblUhrzeit.DoubleClick += lblUhrzeit_DoubleClick; + // + // label62 + // + label62.Anchor = AnchorStyles.Left; + label62.AutoSize = true; + label62.Location = new Point(3, 67); + label62.Name = "label62"; + label62.Size = new Size(87, 15); + label62.TabIndex = 2; + label62.Text = "Beendet durch:"; + // + // label63 + // + label63.Anchor = AnchorStyles.Left; + label63.AutoSize = true; + label63.Location = new Point(373, 7); + label63.Name = "label63"; + label63.Size = new Size(26, 15); + label63.TabIndex = 3; + label63.Text = "Art:"; + // + // label64 + // + label64.Anchor = AnchorStyles.Left; + label64.AutoSize = true; + label64.Location = new Point(373, 37); + label64.Name = "label64"; + label64.Size = new Size(43, 15); + label64.TabIndex = 4; + label64.Text = "Grund:"; + // + // cmbArt + // + cmbArt.Dock = DockStyle.Fill; + cmbArt.FormattingEnabled = true; + cmbArt.Items.AddRange(new object[] { "Einsatzabbruch während der Anfahrt", "Einsatzabbruch", "Einsatzende" }); + cmbArt.Location = new Point(443, 3); + cmbArt.Name = "cmbArt"; + cmbArt.Size = new Size(289, 23); + cmbArt.TabIndex = 9; + // + // cmbGrund + // + cmbGrund.Dock = DockStyle.Fill; + cmbGrund.FormattingEnabled = true; + cmbGrund.Items.AddRange(new object[] { "Person durch Polizei gefunden", "Person anderweitig aufgetaucht", "Person durch RHS gefunden", "Unbekannt" }); + cmbGrund.Location = new Point(443, 33); + cmbGrund.Name = "cmbGrund"; + cmbGrund.Size = new Size(289, 23); + cmbGrund.TabIndex = 10; + // + // cmbBeendetDurch + // + cmbBeendetDurch.Dock = DockStyle.Fill; + cmbBeendetDurch.FormattingEnabled = true; + cmbBeendetDurch.Items.AddRange(new object[] { "Einsatzleiter Polizei", "Polizeirevier", "Lagezentrum Polizei" }); + cmbBeendetDurch.Location = new Point(158, 63); + cmbBeendetDurch.Name = "cmbBeendetDurch"; + cmbBeendetDurch.Size = new Size(209, 23); + cmbBeendetDurch.TabIndex = 12; + // + // txtDatum + // + txtDatum.Dock = DockStyle.Fill; + txtDatum.Location = new Point(158, 3); + txtDatum.Name = "txtDatum"; + txtDatum.Size = new Size(209, 23); + txtDatum.TabIndex = 13; + // + // txtUhrzeit + // + txtUhrzeit.Dock = DockStyle.Fill; + txtUhrzeit.Location = new Point(158, 33); + txtUhrzeit.Name = "txtUhrzeit"; + txtUhrzeit.Size = new Size(209, 23); + txtUhrzeit.TabIndex = 14; + // // Form1 // AutoScaleDimensions = new SizeF(7F, 15F); @@ -1965,6 +2139,8 @@ tableLayoutPanel3.ResumeLayout(false); tableLayoutPanel3.PerformLayout(); tabPage7.ResumeLayout(false); + tableLayoutPanel2.ResumeLayout(false); + tableLayoutPanel2.PerformLayout(); ResumeLayout(false); } @@ -1972,14 +2148,11 @@ private TableLayoutPanel tableLayoutPanel1; private Label label1; - private TextBox txtVerfasser; private Label label2; private Label lblEinsatzort; private Label label4; private Label label5; private Label lblSuchgebiergröße; - private TextBox txtAlarmierung; - private TextBox txtAnforderung; private TextBox txtEinsatzort; private TextBox txtSuchgebietgroesse; private DateTimePicker dtpDatum; @@ -2113,14 +2286,30 @@ 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; + private Label lblDatum; + private Label lblUhrzeit; + private Label label62; + private Label label63; + private Label label64; + private ComboBox cmbArt; + private ComboBox cmbGrund; + private ComboBox cmbBeendetDurch; + private MaskedTextBox txtDatum; + private MaskedTextBox txtUhrzeit; + private ComboBox cmbTMOGruppe; + private ComboBox comboBox5; + private ComboBox cmbVerfasser; + private ComboBox cmbAlarmierungDurch; + private ComboBox cmbAnforderungDurch; + private TextBox txtTemperatur; + private ComboBox cmbWetterlage; + private ComboBox cmbWind; } } diff --git a/RHS-Sachsen/Form1.cs b/RHS-Sachsen/Form1.cs index e2731c4..9aaf7ae 100644 --- a/RHS-Sachsen/Form1.cs +++ b/RHS-Sachsen/Form1.cs @@ -36,9 +36,9 @@ namespace RHS_Sachsen (@Verfasser, @Alarmierung, @Anforderung, @Datum, @Einsatzort, @Groesse_Suchgebiet, @Lage, @Ansprechpartner, @Rufnummer, @Funk1, @Funk2);"; // Beispielwerte für die Parameter - string verfasser = txtVerfasser.Text; - string alarmierung = txtAlarmierung.Text; - string anforderung = txtAnforderung.Text; + //string verfasser = txtVerfasser.Text; + //string alarmierung = txtAlarmierung.Text; + //string anforderung = txtAnforderung.Text; DateTime datum = dtpDatum.Value; string einsatzort = txtEinsatzort.Text; string groesseSuchgebiet = txtSuchgebietgroesse.Text; @@ -78,9 +78,6 @@ namespace RHS_Sachsen private void FelderAufStandartSetzen() { - txtVerfasser.Clear(); - txtAlarmierung.Clear(); - txtAnforderung.Clear(); dtpDatum.Value = DateTime.Now; txtEinsatzort.Clear(); txtSuchgebietgroesse.Clear(); @@ -177,5 +174,17 @@ namespace RHS_Sachsen String einsatznummer = DateTime.Now.ToString("yyyy") + DateTime.Now.ToString("MM") + DateTime.Now.ToString("dd"); txtEinsatznummer.Text = einsatznummer; } + + private void lblDatum_DoubleClick(object sender, EventArgs e) + { + string datum = DateTime.Now.ToShortDateString(); + txtDatum.Text = datum; + } + + private void lblUhrzeit_DoubleClick(object sender, EventArgs e) + { + string uhrzeit = DateTime.Now.ToShortTimeString(); + txtUhrzeit.Text = uhrzeit; + } } } diff --git a/RHS-Sachsen/Properties/Resources.Designer.cs b/RHS-Sachsen/Properties/Resources.Designer.cs new file mode 100644 index 0000000..a2a2bb9 --- /dev/null +++ b/RHS-Sachsen/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +namespace RHS_Sachsen.Properties { + using System; + + + /// + /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// + // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert + // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. + // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen + // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("RHS_Sachsen.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/RHS-Sachsen/Properties/Resources.resx b/RHS-Sachsen/Properties/Resources.resx new file mode 100644 index 0000000..1b7758e --- /dev/null +++ b/RHS-Sachsen/Properties/Resources.resx @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + Resources\Verbund_Alarm_2023_08_1seitig.pdf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Verbund_Alarm + + \ No newline at end of file diff --git a/RHS-Sachsen/RHS-Sachsen.csproj b/RHS-Sachsen/RHS-Sachsen.csproj index 2ffdbd7..113fabd 100644 --- a/RHS-Sachsen/RHS-Sachsen.csproj +++ b/RHS-Sachsen/RHS-Sachsen.csproj @@ -13,4 +13,19 @@ + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + \ No newline at end of file diff --git a/RHS-Sachsen/Resources/Verbund_Alarm_2023_08_1seitig.pdf b/RHS-Sachsen/Resources/Verbund_Alarm_2023_08_1seitig.pdf new file mode 100644 index 0000000..987dcf6 Binary files /dev/null and b/RHS-Sachsen/Resources/Verbund_Alarm_2023_08_1seitig.pdf differ