Form fertig, Alarminfo als Resource eingebunden

This commit is contained in:
Christopher Meinhold 2024-12-20 09:04:03 +01:00
parent 7f902b439f
commit a79cd52192
6 changed files with 470 additions and 69 deletions

View File

@ -30,14 +30,11 @@
{ {
tableLayoutPanel1 = new TableLayoutPanel(); tableLayoutPanel1 = new TableLayoutPanel();
label1 = new Label(); label1 = new Label();
txtVerfasser = new TextBox();
label2 = new Label(); label2 = new Label();
lblEinsatzort = new Label(); lblEinsatzort = new Label();
label4 = new Label(); label4 = new Label();
label5 = new Label(); label5 = new Label();
lblSuchgebiergröße = new Label(); lblSuchgebiergröße = new Label();
txtAlarmierung = new TextBox();
txtAnforderung = new TextBox();
txtEinsatzort = new TextBox(); txtEinsatzort = new TextBox();
txtSuchgebietgroesse = new TextBox(); txtSuchgebietgroesse = new TextBox();
dtpDatum = new DateTimePicker(); dtpDatum = new DateTimePicker();
@ -54,6 +51,9 @@
txtRufnummer = new TextBox(); txtRufnummer = new TextBox();
txtFunk1 = new TextBox(); txtFunk1 = new TextBox();
txtFunk2 = new TextBox(); txtFunk2 = new TextBox();
cmbVerfasser = new ComboBox();
cmbAlarmierungDurch = new ComboBox();
cmbAnforderungDurch = new ComboBox();
tabControl1 = new TabControl(); tabControl1 = new TabControl();
tabPage1 = new TabPage(); tabPage1 = new TabPage();
tabPage2 = new TabPage(); tabPage2 = new TabPage();
@ -144,6 +144,9 @@
label50 = new Label(); label50 = new Label();
label51 = new Label(); label51 = new Label();
label52 = new Label(); label52 = new Label();
txtTemperatur = new TextBox();
cmbWetterlage = new ComboBox();
cmbWind = new ComboBox();
tabPage5 = new TabPage(); tabPage5 = new TabPage();
tableLayoutPanel4 = new TableLayoutPanel(); tableLayoutPanel4 = new TableLayoutPanel();
chkPolizeiStreifen = new CheckBox(); chkPolizeiStreifen = new CheckBox();
@ -168,18 +171,28 @@
label57 = new Label(); label57 = new Label();
label58 = new Label(); label58 = new Label();
label59 = new Label(); label59 = new Label();
txtZFRettungshunde = new TextBox();
txtGesamteinsatzleiter = new TextBox(); txtGesamteinsatzleiter = new TextBox();
txtEmailadresse = new TextBox(); txtEmailadresse = new TextBox();
txtTMOGruppe = new TextBox();
txtDMOGruppe = new TextBox(); txtDMOGruppe = new TextBox();
txtPolizeiTagebuchnummer = new TextBox(); txtPolizeiTagebuchnummer = new TextBox();
txtEinsatznummer = new TextBox(); txtEinsatznummer = new TextBox();
label60 = new Label(); label60 = new Label();
label61 = new Label(); label61 = new Label();
cmbBelehrung = new ComboBox(); cmbBelehrung = new ComboBox();
cmbTMOGruppe = new ComboBox();
comboBox5 = new ComboBox();
tabPage7 = new TabPage(); tabPage7 = new TabPage();
tableLayoutPanel2 = new TableLayoutPanel(); 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(); tableLayoutPanel1.SuspendLayout();
tabControl1.SuspendLayout(); tabControl1.SuspendLayout();
tabPage1.SuspendLayout(); tabPage1.SuspendLayout();
@ -194,6 +207,7 @@
tabPage6.SuspendLayout(); tabPage6.SuspendLayout();
tableLayoutPanel3.SuspendLayout(); tableLayoutPanel3.SuspendLayout();
tabPage7.SuspendLayout(); tabPage7.SuspendLayout();
tableLayoutPanel2.SuspendLayout();
SuspendLayout(); SuspendLayout();
// //
// tableLayoutPanel1 // tableLayoutPanel1
@ -204,14 +218,11 @@
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 14.875F)); tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 14.875F));
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 35.125F)); tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 35.125F));
tableLayoutPanel1.Controls.Add(label1, 0, 0); tableLayoutPanel1.Controls.Add(label1, 0, 0);
tableLayoutPanel1.Controls.Add(txtVerfasser, 1, 0);
tableLayoutPanel1.Controls.Add(label2, 2, 0); tableLayoutPanel1.Controls.Add(label2, 2, 0);
tableLayoutPanel1.Controls.Add(lblEinsatzort, 2, 1); tableLayoutPanel1.Controls.Add(lblEinsatzort, 2, 1);
tableLayoutPanel1.Controls.Add(label4, 0, 1); tableLayoutPanel1.Controls.Add(label4, 0, 1);
tableLayoutPanel1.Controls.Add(label5, 0, 2); tableLayoutPanel1.Controls.Add(label5, 0, 2);
tableLayoutPanel1.Controls.Add(lblSuchgebiergröße, 2, 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(txtEinsatzort, 3, 1);
tableLayoutPanel1.Controls.Add(txtSuchgebietgroesse, 3, 2); tableLayoutPanel1.Controls.Add(txtSuchgebietgroesse, 3, 2);
tableLayoutPanel1.Controls.Add(dtpDatum, 3, 0); tableLayoutPanel1.Controls.Add(dtpDatum, 3, 0);
@ -228,6 +239,9 @@
tableLayoutPanel1.Controls.Add(txtRufnummer, 1, 6); tableLayoutPanel1.Controls.Add(txtRufnummer, 1, 6);
tableLayoutPanel1.Controls.Add(txtFunk1, 3, 5); tableLayoutPanel1.Controls.Add(txtFunk1, 3, 5);
tableLayoutPanel1.Controls.Add(txtFunk2, 3, 6); 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.Dock = DockStyle.Fill;
tableLayoutPanel1.Location = new Point(3, 3); tableLayoutPanel1.Location = new Point(3, 3);
tableLayoutPanel1.Name = "tableLayoutPanel1"; tableLayoutPanel1.Name = "tableLayoutPanel1";
@ -258,14 +272,6 @@
label1.TabIndex = 1; label1.TabIndex = 1;
label1.Text = "Verfasser / Org."; 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
// //
label2.Anchor = AnchorStyles.Left; label2.Anchor = AnchorStyles.Left;
@ -316,22 +322,6 @@
lblSuchgebiergröße.TabIndex = 6; lblSuchgebiergröße.TabIndex = 6;
lblSuchgebiergröße.Text = "Größe Suchgebiet:"; 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
// //
txtEinsatzort.Dock = DockStyle.Fill; txtEinsatzort.Dock = DockStyle.Fill;
@ -477,6 +467,36 @@
txtFunk2.Size = new Size(323, 23); txtFunk2.Size = new Size(323, 23);
txtFunk2.TabIndex = 10; 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
// //
tabControl1.Controls.Add(tabPage1); tabControl1.Controls.Add(tabPage1);
@ -1273,6 +1293,9 @@
tableLayoutPanel5.Controls.Add(label50, 3, 7); tableLayoutPanel5.Controls.Add(label50, 3, 7);
tableLayoutPanel5.Controls.Add(label51, 3, 8); tableLayoutPanel5.Controls.Add(label51, 3, 8);
tableLayoutPanel5.Controls.Add(label52, 3, 9); 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.Dock = DockStyle.Fill;
tableLayoutPanel5.Location = new Point(3, 3); tableLayoutPanel5.Location = new Point(3, 3);
tableLayoutPanel5.Name = "tableLayoutPanel5"; tableLayoutPanel5.Name = "tableLayoutPanel5";
@ -1503,6 +1526,37 @@
label52.TabIndex = 17; label52.TabIndex = 17;
label52.Text = "Taxi und Bus abgefragt:"; 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
// //
tabPage5.Controls.Add(tableLayoutPanel4); tabPage5.Controls.Add(tableLayoutPanel4);
@ -1730,16 +1784,16 @@
tableLayoutPanel3.Controls.Add(label57, 0, 3); tableLayoutPanel3.Controls.Add(label57, 0, 3);
tableLayoutPanel3.Controls.Add(label58, 0, 4); tableLayoutPanel3.Controls.Add(label58, 0, 4);
tableLayoutPanel3.Controls.Add(label59, 0, 5); tableLayoutPanel3.Controls.Add(label59, 0, 5);
tableLayoutPanel3.Controls.Add(txtZFRettungshunde, 1, 0);
tableLayoutPanel3.Controls.Add(txtGesamteinsatzleiter, 1, 1); tableLayoutPanel3.Controls.Add(txtGesamteinsatzleiter, 1, 1);
tableLayoutPanel3.Controls.Add(txtEmailadresse, 1, 2); tableLayoutPanel3.Controls.Add(txtEmailadresse, 1, 2);
tableLayoutPanel3.Controls.Add(txtTMOGruppe, 1, 3);
tableLayoutPanel3.Controls.Add(txtDMOGruppe, 1, 4); tableLayoutPanel3.Controls.Add(txtDMOGruppe, 1, 4);
tableLayoutPanel3.Controls.Add(txtPolizeiTagebuchnummer, 1, 5); tableLayoutPanel3.Controls.Add(txtPolizeiTagebuchnummer, 1, 5);
tableLayoutPanel3.Controls.Add(txtEinsatznummer, 1, 6); tableLayoutPanel3.Controls.Add(txtEinsatznummer, 1, 6);
tableLayoutPanel3.Controls.Add(label60, 0, 6); tableLayoutPanel3.Controls.Add(label60, 0, 6);
tableLayoutPanel3.Controls.Add(label61, 0, 7); tableLayoutPanel3.Controls.Add(label61, 0, 7);
tableLayoutPanel3.Controls.Add(cmbBelehrung, 2, 7); tableLayoutPanel3.Controls.Add(cmbBelehrung, 2, 7);
tableLayoutPanel3.Controls.Add(cmbTMOGruppe, 1, 3);
tableLayoutPanel3.Controls.Add(comboBox5, 1, 0);
tableLayoutPanel3.Dock = DockStyle.Fill; tableLayoutPanel3.Dock = DockStyle.Fill;
tableLayoutPanel3.Location = new Point(3, 3); tableLayoutPanel3.Location = new Point(3, 3);
tableLayoutPanel3.Name = "tableLayoutPanel3"; tableLayoutPanel3.Name = "tableLayoutPanel3";
@ -1817,15 +1871,6 @@
label59.TabIndex = 5; label59.TabIndex = 5;
label59.Text = "Tagebuchnummer Polizei:"; 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 // txtGesamteinsatzleiter
// //
tableLayoutPanel3.SetColumnSpan(txtGesamteinsatzleiter, 2); tableLayoutPanel3.SetColumnSpan(txtGesamteinsatzleiter, 2);
@ -1844,15 +1889,6 @@
txtEmailadresse.Size = new Size(324, 23); txtEmailadresse.Size = new Size(324, 23);
txtEmailadresse.TabIndex = 11; 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 // txtDMOGruppe
// //
tableLayoutPanel3.SetColumnSpan(txtDMOGruppe, 2); tableLayoutPanel3.SetColumnSpan(txtDMOGruppe, 2);
@ -1912,6 +1948,28 @@
cmbBelehrung.Size = new Size(144, 23); cmbBelehrung.Size = new Size(144, 23);
cmbBelehrung.TabIndex = 16; 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
// //
tabPage7.Controls.Add(tableLayoutPanel2); tabPage7.Controls.Add(tableLayoutPanel2);
@ -1925,18 +1983,134 @@
// //
// tableLayoutPanel2 // tableLayoutPanel2
// //
tableLayoutPanel2.ColumnCount = 2; tableLayoutPanel2.ColumnCount = 6;
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 16.666666F));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 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.Dock = DockStyle.Fill;
tableLayoutPanel2.Location = new Point(3, 3); tableLayoutPanel2.Location = new Point(3, 3);
tableLayoutPanel2.Name = "tableLayoutPanel2"; tableLayoutPanel2.Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 2; tableLayoutPanel2.RowCount = 6;
tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F));
tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); 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.Size = new Size(931, 458);
tableLayoutPanel2.TabIndex = 0; 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 // Form1
// //
AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleDimensions = new SizeF(7F, 15F);
@ -1965,6 +2139,8 @@
tableLayoutPanel3.ResumeLayout(false); tableLayoutPanel3.ResumeLayout(false);
tableLayoutPanel3.PerformLayout(); tableLayoutPanel3.PerformLayout();
tabPage7.ResumeLayout(false); tabPage7.ResumeLayout(false);
tableLayoutPanel2.ResumeLayout(false);
tableLayoutPanel2.PerformLayout();
ResumeLayout(false); ResumeLayout(false);
} }
@ -1972,14 +2148,11 @@
private TableLayoutPanel tableLayoutPanel1; private TableLayoutPanel tableLayoutPanel1;
private Label label1; private Label label1;
private TextBox txtVerfasser;
private Label label2; private Label label2;
private Label lblEinsatzort; private Label lblEinsatzort;
private Label label4; private Label label4;
private Label label5; private Label label5;
private Label lblSuchgebiergröße; private Label lblSuchgebiergröße;
private TextBox txtAlarmierung;
private TextBox txtAnforderung;
private TextBox txtEinsatzort; private TextBox txtEinsatzort;
private TextBox txtSuchgebietgroesse; private TextBox txtSuchgebietgroesse;
private DateTimePicker dtpDatum; private DateTimePicker dtpDatum;
@ -2113,14 +2286,30 @@
private Label label60; private Label label60;
private Label label58; private Label label58;
private Label label59; private Label label59;
private TextBox txtZFRettungshunde;
private TextBox txtGesamteinsatzleiter; private TextBox txtGesamteinsatzleiter;
private TextBox txtEmailadresse; private TextBox txtEmailadresse;
private TextBox txtTMOGruppe;
private TextBox txtDMOGruppe; private TextBox txtDMOGruppe;
private TextBox txtPolizeiTagebuchnummer; private TextBox txtPolizeiTagebuchnummer;
private TextBox txtEinsatznummer; private TextBox txtEinsatznummer;
private Label label61; private Label label61;
private ComboBox cmbBelehrung; 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;
} }
} }

View File

@ -36,9 +36,9 @@ namespace RHS_Sachsen
(@Verfasser, @Alarmierung, @Anforderung, @Datum, @Einsatzort, @Groesse_Suchgebiet, @Lage, @Ansprechpartner, @Rufnummer, @Funk1, @Funk2);"; (@Verfasser, @Alarmierung, @Anforderung, @Datum, @Einsatzort, @Groesse_Suchgebiet, @Lage, @Ansprechpartner, @Rufnummer, @Funk1, @Funk2);";
// Beispielwerte für die Parameter // Beispielwerte für die Parameter
string verfasser = txtVerfasser.Text; //string verfasser = txtVerfasser.Text;
string alarmierung = txtAlarmierung.Text; //string alarmierung = txtAlarmierung.Text;
string anforderung = txtAnforderung.Text; //string anforderung = txtAnforderung.Text;
DateTime datum = dtpDatum.Value; DateTime datum = dtpDatum.Value;
string einsatzort = txtEinsatzort.Text; string einsatzort = txtEinsatzort.Text;
string groesseSuchgebiet = txtSuchgebietgroesse.Text; string groesseSuchgebiet = txtSuchgebietgroesse.Text;
@ -78,9 +78,6 @@ namespace RHS_Sachsen
private void FelderAufStandartSetzen() private void FelderAufStandartSetzen()
{ {
txtVerfasser.Clear();
txtAlarmierung.Clear();
txtAnforderung.Clear();
dtpDatum.Value = DateTime.Now; dtpDatum.Value = DateTime.Now;
txtEinsatzort.Clear(); txtEinsatzort.Clear();
txtSuchgebietgroesse.Clear(); txtSuchgebietgroesse.Clear();
@ -177,5 +174,17 @@ namespace RHS_Sachsen
String einsatznummer = DateTime.Now.ToString("yyyy") + DateTime.Now.ToString("MM") + DateTime.Now.ToString("dd"); String einsatznummer = DateTime.Now.ToString("yyyy") + DateTime.Now.ToString("MM") + DateTime.Now.ToString("dd");
txtEinsatznummer.Text = einsatznummer; 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;
}
} }
} }

View File

@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
namespace RHS_Sachsen.Properties {
using System;
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// 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() {
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary>
[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;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}

View File

@ -0,0 +1,125 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Verbund_Alarm" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\Verbund_Alarm_2023_08_1seitig.pdf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<comment>Verbund_Alarm</comment>
</data>
</root>

View File

@ -13,4 +13,19 @@
<PackageReference Include="MySql.Data" Version="9.0.0" /> <PackageReference Include="MySql.Data" Version="9.0.0" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project> </Project>