diff --git a/SanSystem/frmObjektEdit.Designer.cs b/SanSystem/frmObjektEdit.Designer.cs index 7dbeac1..9f64654 100644 --- a/SanSystem/frmObjektEdit.Designer.cs +++ b/SanSystem/frmObjektEdit.Designer.cs @@ -59,7 +59,7 @@ this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); - this.tabPage2 = new System.Windows.Forms.TabPage(); + this.Kanalinformationen = new System.Windows.Forms.TabPage(); this.dgv_schadenkuerzel = new System.Windows.Forms.DataGridView(); this.btn_close = new System.Windows.Forms.Button(); this.btn_add_san = new System.Windows.Forms.Button(); @@ -67,14 +67,14 @@ this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.groupBox2.SuspendLayout(); - this.tabPage2.SuspendLayout(); + this.Kanalinformationen.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgv_schadenkuerzel)).BeginInit(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); - this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Controls.Add(this.Kanalinformationen); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); @@ -111,11 +111,11 @@ this.tabPage1.Controls.Add(this.label2); this.tabPage1.Controls.Add(this.label1); this.tabPage1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tabPage1.Location = new System.Drawing.Point(4, 29); + this.tabPage1.Location = new System.Drawing.Point(4, 34); this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.tabPage1.Size = new System.Drawing.Size(1282, 669); + this.tabPage1.Size = new System.Drawing.Size(1282, 664); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Grunddaten"; this.tabPage1.UseVisualStyleBackColor = true; @@ -125,7 +125,7 @@ this.cb_objekname_man.AutoSize = true; this.cb_objekname_man.Location = new System.Drawing.Point(108, 70); this.cb_objekname_man.Name = "cb_objekname_man"; - this.cb_objekname_man.Size = new System.Drawing.Size(60, 20); + this.cb_objekname_man.Size = new System.Drawing.Size(72, 24); this.cb_objekname_man.TabIndex = 29; this.cb_objekname_man.Text = "man?"; this.cb_objekname_man.UseVisualStyleBackColor = true; @@ -137,7 +137,7 @@ this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(725, 276); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(91, 20); + this.label8.Size = new System.Drawing.Size(112, 25); this.label8.TabIndex = 28; this.label8.Text = "Bemerkung"; // @@ -146,7 +146,7 @@ this.txt_ort.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_ort.Location = new System.Drawing.Point(745, 139); this.txt_ort.Name = "txt_ort"; - this.txt_ort.Size = new System.Drawing.Size(191, 26); + this.txt_ort.Size = new System.Drawing.Size(191, 30); this.txt_ort.TabIndex = 9; // // label7 @@ -155,7 +155,7 @@ this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.Location = new System.Drawing.Point(584, 136); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(31, 20); + this.label7.Size = new System.Drawing.Size(39, 25); this.label7.TabIndex = 27; this.label7.Text = "Ort"; // @@ -172,7 +172,7 @@ this.txt_objekt_name.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_objekt_name.Location = new System.Drawing.Point(192, 67); this.txt_objekt_name.Name = "txt_objekt_name"; - this.txt_objekt_name.Size = new System.Drawing.Size(330, 26); + this.txt_objekt_name.Size = new System.Drawing.Size(330, 30); this.txt_objekt_name.TabIndex = 2; // // lbl_objektname @@ -181,7 +181,7 @@ this.lbl_objektname.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_objektname.Location = new System.Drawing.Point(9, 70); this.lbl_objektname.Name = "lbl_objektname"; - this.lbl_objektname.Size = new System.Drawing.Size(95, 20); + this.lbl_objektname.Size = new System.Drawing.Size(118, 25); this.lbl_objektname.TabIndex = 25; this.lbl_objektname.Text = "Objektname"; // @@ -228,7 +228,7 @@ "Ziegelwerk"}); this.cb_material.Location = new System.Drawing.Point(192, 252); this.cb_material.Name = "cb_material"; - this.cb_material.Size = new System.Drawing.Size(323, 28); + this.cb_material.Size = new System.Drawing.Size(323, 33); this.cb_material.TabIndex = 6; // // groupBox2 @@ -250,7 +250,7 @@ this.txt_haltungslaenge.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_haltungslaenge.Location = new System.Drawing.Point(188, 21); this.txt_haltungslaenge.Name = "txt_haltungslaenge"; - this.txt_haltungslaenge.Size = new System.Drawing.Size(136, 26); + this.txt_haltungslaenge.Size = new System.Drawing.Size(136, 30); this.txt_haltungslaenge.TabIndex = 11; // // txt_laenge_schacht @@ -258,7 +258,7 @@ this.txt_laenge_schacht.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_laenge_schacht.Location = new System.Drawing.Point(188, 112); this.txt_laenge_schacht.Name = "txt_laenge_schacht"; - this.txt_laenge_schacht.Size = new System.Drawing.Size(136, 26); + this.txt_laenge_schacht.Size = new System.Drawing.Size(136, 30); this.txt_laenge_schacht.TabIndex = 13; // // label21 @@ -267,7 +267,7 @@ this.label21.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label21.Location = new System.Drawing.Point(6, 114); this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(107, 20); + this.label21.Size = new System.Drawing.Size(132, 25); this.label21.TabIndex = 21; this.label21.Text = "Schachtlänge"; // @@ -277,7 +277,7 @@ this.checkBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox1.Location = new System.Drawing.Point(9, 75); this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(172, 24); + this.checkBox1.Size = new System.Drawing.Size(210, 29); this.checkBox1.TabIndex = 12; this.checkBox1.Text = "Geschlossene Ende"; this.checkBox1.UseVisualStyleBackColor = true; @@ -289,7 +289,7 @@ this.label6.Location = new System.Drawing.Point(5, 26); this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(112, 20); + this.label6.Size = new System.Drawing.Size(137, 25); this.label6.TabIndex = 5; this.label6.Text = "Haltungslänge"; // @@ -302,7 +302,7 @@ this.dt_haltunggemessen_datum.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.dt_haltunggemessen_datum.Name = "dt_haltunggemessen_datum"; this.dt_haltunggemessen_datum.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.dt_haltunggemessen_datum.Size = new System.Drawing.Size(354, 26); + this.dt_haltunggemessen_datum.Size = new System.Drawing.Size(354, 30); this.dt_haltunggemessen_datum.TabIndex = 10; // // label20 @@ -312,7 +312,7 @@ this.label20.Location = new System.Drawing.Point(8, 300); this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(216, 20); + this.label20.Size = new System.Drawing.Size(265, 25); this.label20.TabIndex = 16; this.label20.Text = "Haltungslänge gemessen am"; // @@ -322,7 +322,7 @@ this.txt_hausnummer.Location = new System.Drawing.Point(758, 85); this.txt_hausnummer.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.txt_hausnummer.Name = "txt_hausnummer"; - this.txt_hausnummer.Size = new System.Drawing.Size(148, 26); + this.txt_hausnummer.Size = new System.Drawing.Size(148, 30); this.txt_hausnummer.TabIndex = 8; // // txt_strasse @@ -331,7 +331,7 @@ this.txt_strasse.Location = new System.Drawing.Point(758, 35); this.txt_strasse.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.txt_strasse.Name = "txt_strasse"; - this.txt_strasse.Size = new System.Drawing.Size(320, 26); + this.txt_strasse.Size = new System.Drawing.Size(320, 30); this.txt_strasse.TabIndex = 7; // // label19 @@ -341,7 +341,7 @@ this.label19.Location = new System.Drawing.Point(560, 89); this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(105, 20); + this.label19.Size = new System.Drawing.Size(129, 25); this.label19.TabIndex = 13; this.label19.Text = "Hausnummer"; // @@ -352,7 +352,7 @@ this.label18.Location = new System.Drawing.Point(560, 40); this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(64, 20); + this.label18.Size = new System.Drawing.Size(79, 25); this.label18.TabIndex = 12; this.label18.Text = "Strasse"; // @@ -362,7 +362,7 @@ this.txt_dn.Location = new System.Drawing.Point(192, 201); this.txt_dn.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.txt_dn.Name = "txt_dn"; - this.txt_dn.Size = new System.Drawing.Size(330, 26); + this.txt_dn.Size = new System.Drawing.Size(330, 30); this.txt_dn.TabIndex = 5; // // txt_punkt_bis @@ -371,7 +371,7 @@ this.txt_punkt_bis.Location = new System.Drawing.Point(192, 153); this.txt_punkt_bis.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.txt_punkt_bis.Name = "txt_punkt_bis"; - this.txt_punkt_bis.Size = new System.Drawing.Size(330, 26); + this.txt_punkt_bis.Size = new System.Drawing.Size(330, 30); this.txt_punkt_bis.TabIndex = 4; // // txt_punkt_von @@ -380,7 +380,7 @@ this.txt_punkt_von.Location = new System.Drawing.Point(192, 107); this.txt_punkt_von.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.txt_punkt_von.Name = "txt_punkt_von"; - this.txt_punkt_von.Size = new System.Drawing.Size(330, 26); + this.txt_punkt_von.Size = new System.Drawing.Size(330, 30); this.txt_punkt_von.TabIndex = 3; this.txt_punkt_von.TextChanged += new System.EventHandler(this.txt_punkt_von_TextChanged); // @@ -390,7 +390,7 @@ this.txt_pro_nr.Location = new System.Drawing.Point(192, 31); this.txt_pro_nr.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.txt_pro_nr.Name = "txt_pro_nr"; - this.txt_pro_nr.Size = new System.Drawing.Size(330, 26); + this.txt_pro_nr.Size = new System.Drawing.Size(330, 30); this.txt_pro_nr.TabIndex = 1; // // label5 @@ -400,7 +400,7 @@ this.label5.Location = new System.Drawing.Point(9, 255); this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(65, 20); + this.label5.Size = new System.Drawing.Size(81, 25); this.label5.TabIndex = 4; this.label5.Text = "Material"; // @@ -411,7 +411,7 @@ this.label4.Location = new System.Drawing.Point(9, 204); this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(104, 20); + this.label4.Size = new System.Drawing.Size(128, 25); this.label4.TabIndex = 3; this.label4.Text = "Durchmesser"; // @@ -422,7 +422,7 @@ this.label3.Location = new System.Drawing.Point(9, 156); this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(76, 20); + this.label3.Size = new System.Drawing.Size(94, 25); this.label3.TabIndex = 2; this.label3.Text = "Bis Punkt"; // @@ -433,7 +433,7 @@ this.label2.Location = new System.Drawing.Point(9, 110); this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(83, 20); + this.label2.Size = new System.Drawing.Size(103, 25); this.label2.TabIndex = 1; this.label2.Text = "Von Punkt"; // @@ -444,20 +444,20 @@ this.label1.Location = new System.Drawing.Point(9, 35); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(116, 20); + this.label1.Size = new System.Drawing.Size(143, 25); this.label1.TabIndex = 0; this.label1.Text = "Projektnummer"; // - // tabPage2 + // Kanalinformationen // - this.tabPage2.Controls.Add(this.dgv_schadenkuerzel); - this.tabPage2.Location = new System.Drawing.Point(4, 29); - this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(1282, 669); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "Kanalinformationen"; - this.tabPage2.UseVisualStyleBackColor = true; + this.Kanalinformationen.Controls.Add(this.dgv_schadenkuerzel); + this.Kanalinformationen.Location = new System.Drawing.Point(4, 34); + this.Kanalinformationen.Name = "Kanalinformationen"; + this.Kanalinformationen.Padding = new System.Windows.Forms.Padding(3); + this.Kanalinformationen.Size = new System.Drawing.Size(1282, 664); + this.Kanalinformationen.TabIndex = 1; + this.Kanalinformationen.Text = "Kanalinformationen"; + this.Kanalinformationen.UseVisualStyleBackColor = true; // // dgv_schadenkuerzel // @@ -504,7 +504,7 @@ // // frmObjektEdit // - this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.ClientSize = new System.Drawing.Size(1290, 702); @@ -524,7 +524,7 @@ this.tabPage1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); - this.tabPage2.ResumeLayout(false); + this.Kanalinformationen.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgv_schadenkuerzel)).EndInit(); this.ResumeLayout(false); @@ -566,7 +566,7 @@ private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label8; private System.Windows.Forms.CheckBox cb_objekname_man; - private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.TabPage Kanalinformationen; private System.Windows.Forms.DataGridView dgv_schadenkuerzel; } } \ No newline at end of file diff --git a/SanSystem/frmObjektEdit.cs b/SanSystem/frmObjektEdit.cs index cab8652..76e491a 100644 --- a/SanSystem/frmObjektEdit.cs +++ b/SanSystem/frmObjektEdit.cs @@ -82,7 +82,6 @@ namespace SanSystem txt_pro_nr.DataBindings.Add(new Binding("Text", inspektionsobjekt, "ProjektNummer")); dt_haltunggemessen_datum.DataBindings.Add(new Binding("Value", inspektionsobjekt, "HaltungGemessen")); txt_bemerkung.DataBindings.Add(new Binding("Text", inspektionsobjekt, "Bemerkung")); - } private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)