Imprägnierungsbericht geändert

This commit is contained in:
HuskyTeufel
2019-10-10 13:41:57 +02:00
parent 91fa0763e3
commit 3513ad5f44
10 changed files with 467 additions and 156 deletions

View File

@@ -26,5 +26,6 @@ namespace KlassenBIB
public string Bediener { get; set; } public string Bediener { get; set; }
public double HarzTemperatur { get; set; } public double HarzTemperatur { get; set; }
public double Vakuum { get; set; } public double Vakuum { get; set; }
public string HarzTyp { get; set; }
} }
} }

View File

@@ -9,9 +9,8 @@ namespace KlassenBIB
public class WerkseitigImprägniert : AbstractImprägnier public class WerkseitigImprägniert : AbstractImprägnier
{ {
public string Imprägniernummer { get; set; } public string Imprägniernummer { get; set; }
public bool LagerungKorrekt { get; set; } public bool LagerungKorrekt { get; set; }
public int LängeCode { get; set; } public string LängeCode { get; set; }
} }
} }

View File

@@ -137,6 +137,12 @@
<Compile Include="frmImprägnierBerichtEdit.Designer.cs"> <Compile Include="frmImprägnierBerichtEdit.Designer.cs">
<DependentUpon>frmImprägnierBerichtEdit.cs</DependentUpon> <DependentUpon>frmImprägnierBerichtEdit.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="frmImprägnierBerichtList.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmImprägnierBerichtList.Designer.cs">
<DependentUpon>frmImprägnierBerichtList.cs</DependentUpon>
</Compile>
<Compile Include="frmKalibrierungFestlegung.cs"> <Compile Include="frmKalibrierungFestlegung.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -235,6 +241,9 @@
<EmbeddedResource Include="frmImprägnierBerichtEdit.resx"> <EmbeddedResource Include="frmImprägnierBerichtEdit.resx">
<DependentUpon>frmImprägnierBerichtEdit.cs</DependentUpon> <DependentUpon>frmImprägnierBerichtEdit.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="frmImprägnierBerichtList.resx">
<DependentUpon>frmImprägnierBerichtList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmKalibrierungFestlegung.resx"> <EmbeddedResource Include="frmKalibrierungFestlegung.resx">
<DependentUpon>frmKalibrierungFestlegung.cs</DependentUpon> <DependentUpon>frmKalibrierungFestlegung.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@@ -36,28 +36,30 @@
this.label6 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox();
this.txt_harzmenge = new System.Windows.Forms.TextBox();
this.txt_harzTemperatur = new System.Windows.Forms.TextBox();
this.txt_mischungtyp = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox2 = new System.Windows.Forms.GroupBox();
this.label8 = new System.Windows.Forms.Label(); this.textBox9 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.groupBox3 = new System.Windows.Forms.GroupBox(); this.groupBox3 = new System.Windows.Forms.GroupBox();
this.textBox11 = new System.Windows.Forms.TextBox();
this.textBox10 = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox(); this.txt_imprägniernr = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox(); this.txt_vakuum = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox(); this.txt_schlauchnummer = new System.Windows.Forms.TextBox();
this.textBox4 = new System.Windows.Forms.TextBox(); this.txt_wanddicke = new System.Windows.Forms.TextBox();
this.textBox5 = new System.Windows.Forms.TextBox(); this.txt_walzenabstand = new System.Windows.Forms.TextBox();
this.textBox6 = new System.Windows.Forms.TextBox(); this.txt_bediener = new System.Windows.Forms.TextBox();
this.textBox7 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.textBox9 = new System.Windows.Forms.TextBox();
this.textBox10 = new System.Windows.Forms.TextBox();
this.textBox11 = new System.Windows.Forms.TextBox();
this.textBox12 = new System.Windows.Forms.TextBox();
this.textBox13 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button();
this.label14 = new System.Windows.Forms.Label();
this.txt_laengeCode = new System.Windows.Forms.TextBox();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout(); this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout(); this.groupBox3.SuspendLayout();
@@ -135,9 +137,9 @@
// //
// groupBox1 // groupBox1
// //
this.groupBox1.Controls.Add(this.textBox7); this.groupBox1.Controls.Add(this.txt_harzmenge);
this.groupBox1.Controls.Add(this.textBox12); this.groupBox1.Controls.Add(this.txt_harzTemperatur);
this.groupBox1.Controls.Add(this.textBox6); this.groupBox1.Controls.Add(this.txt_mischungtyp);
this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label7);
this.groupBox1.Controls.Add(this.label12); this.groupBox1.Controls.Add(this.label12);
@@ -149,6 +151,40 @@
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "Mischung"; this.groupBox1.Text = "Mischung";
// //
// txt_harzmenge
//
this.txt_harzmenge.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_harzmenge.Location = new System.Drawing.Point(192, 65);
this.txt_harzmenge.Name = "txt_harzmenge";
this.txt_harzmenge.Size = new System.Drawing.Size(150, 30);
this.txt_harzmenge.TabIndex = 8;
//
// txt_harzTemperatur
//
this.txt_harzTemperatur.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_harzTemperatur.Location = new System.Drawing.Point(192, 101);
this.txt_harzTemperatur.Name = "txt_harzTemperatur";
this.txt_harzTemperatur.Size = new System.Drawing.Size(150, 30);
this.txt_harzTemperatur.TabIndex = 17;
//
// txt_mischungtyp
//
this.txt_mischungtyp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_mischungtyp.Location = new System.Drawing.Point(192, 29);
this.txt_mischungtyp.Name = "txt_mischungtyp";
this.txt_mischungtyp.Size = new System.Drawing.Size(150, 30);
this.txt_mischungtyp.TabIndex = 7;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label12.Location = new System.Drawing.Point(11, 104);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(159, 25);
this.label12.TabIndex = 10;
this.label12.Text = "Harz Temperatur";
//
// groupBox2 // groupBox2
// //
this.groupBox2.Controls.Add(this.textBox9); this.groupBox2.Controls.Add(this.textBox9);
@@ -163,15 +199,21 @@
this.groupBox2.TabStop = false; this.groupBox2.TabStop = false;
this.groupBox2.Text = "Imprägnier Anfang"; this.groupBox2.Text = "Imprägnier Anfang";
// //
// label8 // textBox9
// //
this.label8.AutoSize = true; this.textBox9.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox9.Location = new System.Drawing.Point(117, 79);
this.label8.Location = new System.Drawing.Point(15, 44); this.textBox9.Name = "textBox9";
this.label8.Name = "label8"; this.textBox9.Size = new System.Drawing.Size(192, 30);
this.label8.Size = new System.Drawing.Size(69, 25); this.textBox9.TabIndex = 3;
this.label8.TabIndex = 0; //
this.label8.Text = "Datum"; // textBox8
//
this.textBox8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox8.Location = new System.Drawing.Point(117, 43);
this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(192, 30);
this.textBox8.TabIndex = 2;
// //
// label9 // label9
// //
@@ -183,6 +225,16 @@
this.label9.TabIndex = 1; this.label9.TabIndex = 1;
this.label9.Text = "Uhrzeit"; this.label9.Text = "Uhrzeit";
// //
// label8
//
this.label8.AutoSize = true;
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(15, 44);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(69, 25);
this.label8.TabIndex = 0;
this.label8.Text = "Datum";
//
// groupBox3 // groupBox3
// //
this.groupBox3.Controls.Add(this.textBox11); this.groupBox3.Controls.Add(this.textBox11);
@@ -197,6 +249,22 @@
this.groupBox3.TabStop = false; this.groupBox3.TabStop = false;
this.groupBox3.Text = "Imprägnier Ende"; this.groupBox3.Text = "Imprägnier Ende";
// //
// textBox11
//
this.textBox11.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox11.Location = new System.Drawing.Point(117, 64);
this.textBox11.Name = "textBox11";
this.textBox11.Size = new System.Drawing.Size(192, 30);
this.textBox11.TabIndex = 3;
//
// textBox10
//
this.textBox10.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox10.Location = new System.Drawing.Point(117, 28);
this.textBox10.Name = "textBox10";
this.textBox10.Size = new System.Drawing.Size(192, 30);
this.textBox10.TabIndex = 2;
//
// label10 // label10
// //
this.label10.AutoSize = true; this.label10.AutoSize = true;
@@ -217,129 +285,63 @@
this.label11.TabIndex = 0; this.label11.TabIndex = 0;
this.label11.Text = "Datum"; this.label11.Text = "Datum";
// //
// label12
//
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label12.Location = new System.Drawing.Point(11, 104);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(159, 25);
this.label12.TabIndex = 10;
this.label12.Text = "Harz Temperatur";
//
// label13 // label13
// //
this.label13.AutoSize = true; this.label13.AutoSize = true;
this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label13.Location = new System.Drawing.Point(14, 396); this.label13.Location = new System.Drawing.Point(14, 458);
this.label13.Name = "label13"; this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(90, 25); this.label13.Size = new System.Drawing.Size(90, 25);
this.label13.TabIndex = 11; this.label13.TabIndex = 11;
this.label13.Text = "Bediener"; this.label13.Text = "Bediener";
// //
// textBox1 // txt_imprägniernr
// //
this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_imprägniernr.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox1.Location = new System.Drawing.Point(215, 6); this.txt_imprägniernr.Location = new System.Drawing.Point(215, 6);
this.textBox1.Name = "textBox1"; this.txt_imprägniernr.Name = "txt_imprägniernr";
this.textBox1.Size = new System.Drawing.Size(219, 30); this.txt_imprägniernr.Size = new System.Drawing.Size(219, 30);
this.textBox1.TabIndex = 12; this.txt_imprägniernr.TabIndex = 12;
// //
// textBox2 // txt_vakuum
// //
this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_vakuum.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox2.Location = new System.Drawing.Point(215, 42); this.txt_vakuum.Location = new System.Drawing.Point(215, 42);
this.textBox2.Name = "textBox2"; this.txt_vakuum.Name = "txt_vakuum";
this.textBox2.Size = new System.Drawing.Size(219, 30); this.txt_vakuum.Size = new System.Drawing.Size(219, 30);
this.textBox2.TabIndex = 13; this.txt_vakuum.TabIndex = 13;
// //
// textBox3 // txt_schlauchnummer
// //
this.textBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_schlauchnummer.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox3.Location = new System.Drawing.Point(215, 78); this.txt_schlauchnummer.Location = new System.Drawing.Point(215, 78);
this.textBox3.Name = "textBox3"; this.txt_schlauchnummer.Name = "txt_schlauchnummer";
this.textBox3.Size = new System.Drawing.Size(219, 30); this.txt_schlauchnummer.Size = new System.Drawing.Size(219, 30);
this.textBox3.TabIndex = 14; this.txt_schlauchnummer.TabIndex = 14;
// //
// textBox4 // txt_wanddicke
// //
this.textBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_wanddicke.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox4.Location = new System.Drawing.Point(215, 114); this.txt_wanddicke.Location = new System.Drawing.Point(215, 114);
this.textBox4.Name = "textBox4"; this.txt_wanddicke.Name = "txt_wanddicke";
this.textBox4.Size = new System.Drawing.Size(219, 30); this.txt_wanddicke.Size = new System.Drawing.Size(219, 30);
this.textBox4.TabIndex = 15; this.txt_wanddicke.TabIndex = 15;
// //
// textBox5 // txt_walzenabstand
// //
this.textBox5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_walzenabstand.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox5.Location = new System.Drawing.Point(215, 150); this.txt_walzenabstand.Location = new System.Drawing.Point(215, 150);
this.textBox5.Name = "textBox5"; this.txt_walzenabstand.Name = "txt_walzenabstand";
this.textBox5.Size = new System.Drawing.Size(219, 30); this.txt_walzenabstand.Size = new System.Drawing.Size(219, 30);
this.textBox5.TabIndex = 16; this.txt_walzenabstand.TabIndex = 16;
// //
// textBox6 // txt_bediener
// //
this.textBox6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_bediener.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox6.Location = new System.Drawing.Point(192, 29); this.txt_bediener.Location = new System.Drawing.Point(215, 458);
this.textBox6.Name = "textBox6"; this.txt_bediener.Name = "txt_bediener";
this.textBox6.Size = new System.Drawing.Size(150, 30); this.txt_bediener.Size = new System.Drawing.Size(219, 30);
this.textBox6.TabIndex = 7; this.txt_bediener.TabIndex = 18;
//
// textBox7
//
this.textBox7.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox7.Location = new System.Drawing.Point(192, 65);
this.textBox7.Name = "textBox7";
this.textBox7.Size = new System.Drawing.Size(150, 30);
this.textBox7.TabIndex = 8;
//
// textBox8
//
this.textBox8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox8.Location = new System.Drawing.Point(117, 43);
this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(192, 30);
this.textBox8.TabIndex = 2;
//
// textBox9
//
this.textBox9.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox9.Location = new System.Drawing.Point(117, 79);
this.textBox9.Name = "textBox9";
this.textBox9.Size = new System.Drawing.Size(192, 30);
this.textBox9.TabIndex = 3;
//
// textBox10
//
this.textBox10.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox10.Location = new System.Drawing.Point(117, 28);
this.textBox10.Name = "textBox10";
this.textBox10.Size = new System.Drawing.Size(192, 30);
this.textBox10.TabIndex = 2;
//
// textBox11
//
this.textBox11.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox11.Location = new System.Drawing.Point(117, 64);
this.textBox11.Name = "textBox11";
this.textBox11.Size = new System.Drawing.Size(192, 30);
this.textBox11.TabIndex = 3;
//
// textBox12
//
this.textBox12.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox12.Location = new System.Drawing.Point(192, 101);
this.textBox12.Name = "textBox12";
this.textBox12.Size = new System.Drawing.Size(150, 30);
this.textBox12.TabIndex = 17;
//
// textBox13
//
this.textBox13.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox13.Location = new System.Drawing.Point(215, 396);
this.textBox13.Name = "textBox13";
this.textBox13.Size = new System.Drawing.Size(219, 30);
this.textBox13.TabIndex = 18;
// //
// button1 // button1
// //
@@ -350,18 +352,38 @@
this.button1.Text = "button1"; this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true; this.button1.UseVisualStyleBackColor = true;
// //
// label14
//
this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label14.Location = new System.Drawing.Point(14, 411);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(122, 25);
this.label14.TabIndex = 20;
this.label14.Text = "Länge-Code";
//
// txt_laengeCode
//
this.txt_laengeCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_laengeCode.Location = new System.Drawing.Point(215, 411);
this.txt_laengeCode.Name = "txt_laengeCode";
this.txt_laengeCode.Size = new System.Drawing.Size(219, 30);
this.txt_laengeCode.TabIndex = 21;
//
// frmImprägnierBerichtEdit // frmImprägnierBerichtEdit
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1056, 468); this.ClientSize = new System.Drawing.Size(1056, 558);
this.Controls.Add(this.txt_laengeCode);
this.Controls.Add(this.label14);
this.Controls.Add(this.button1); this.Controls.Add(this.button1);
this.Controls.Add(this.textBox13); this.Controls.Add(this.txt_bediener);
this.Controls.Add(this.textBox5); this.Controls.Add(this.txt_walzenabstand);
this.Controls.Add(this.textBox4); this.Controls.Add(this.txt_wanddicke);
this.Controls.Add(this.textBox3); this.Controls.Add(this.txt_schlauchnummer);
this.Controls.Add(this.textBox2); this.Controls.Add(this.txt_vakuum);
this.Controls.Add(this.textBox1); this.Controls.Add(this.txt_imprägniernr);
this.Controls.Add(this.label13); this.Controls.Add(this.label13);
this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox2);
@@ -402,19 +424,21 @@
private System.Windows.Forms.Label label11; private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12; private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13; private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox textBox7; private System.Windows.Forms.TextBox txt_harzmenge;
private System.Windows.Forms.TextBox textBox6; private System.Windows.Forms.TextBox txt_mischungtyp;
private System.Windows.Forms.TextBox textBox9; private System.Windows.Forms.TextBox textBox9;
private System.Windows.Forms.TextBox textBox8; private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.TextBox textBox11; private System.Windows.Forms.TextBox textBox11;
private System.Windows.Forms.TextBox textBox10; private System.Windows.Forms.TextBox textBox10;
private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox txt_imprägniernr;
private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.TextBox txt_vakuum;
private System.Windows.Forms.TextBox textBox3; private System.Windows.Forms.TextBox txt_schlauchnummer;
private System.Windows.Forms.TextBox textBox4; private System.Windows.Forms.TextBox txt_wanddicke;
private System.Windows.Forms.TextBox textBox5; private System.Windows.Forms.TextBox txt_walzenabstand;
private System.Windows.Forms.TextBox textBox12; private System.Windows.Forms.TextBox txt_harzTemperatur;
private System.Windows.Forms.TextBox textBox13; private System.Windows.Forms.TextBox txt_bediener;
private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.TextBox txt_laengeCode;
} }
} }

View File

@@ -1,4 +1,5 @@
using System; using KlassenBIB;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Data; using System.Data;
@@ -12,9 +13,21 @@ namespace SanSystem
{ {
public partial class frmImprägnierBerichtEdit : Form public partial class frmImprägnierBerichtEdit : Form
{ {
public frmImprägnierBerichtEdit() WerkseitigImprägniert werkseitigImprägniert = null;
public frmImprägnierBerichtEdit(WerkseitigImprägniert werkseitigImprägniert)
{ {
InitializeComponent(); InitializeComponent();
this.werkseitigImprägniert = werkseitigImprägniert;
txt_imprägniernr.DataBindings.Add("Text", werkseitigImprägniert, "Imprägniernummer");
txt_laengeCode.DataBindings.Add("Text", werkseitigImprägniert, "LängeCode");
txt_schlauchnummer.DataBindings.Add("Text", werkseitigImprägniert, "Schlauchnummer");
txt_wanddicke.DataBindings.Add("Text", werkseitigImprägniert, "Wanddicke");
txt_harzmenge.DataBindings.Add("Text", werkseitigImprägniert, "Harzmenge");
txt_harzTemperatur.DataBindings.Add("Text", werkseitigImprägniert, "HarzTemperatur");
txt_bediener.DataBindings.Add("Text", werkseitigImprägniert, "Bediener");
txt_mischungtyp.DataBindings.Add("Text", werkseitigImprägniert, "HarzTyp");
} }
} }
} }

View File

@@ -0,0 +1,73 @@
namespace SanSystem
{
partial class frmImprägnierBerichtList
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.lst_imprägnierBerichtNr = new System.Windows.Forms.ListBox();
this.btn_add = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lst_imprägnierBerichtNr
//
this.lst_imprägnierBerichtNr.FormattingEnabled = true;
this.lst_imprägnierBerichtNr.ItemHeight = 16;
this.lst_imprägnierBerichtNr.Location = new System.Drawing.Point(12, 12);
this.lst_imprägnierBerichtNr.Name = "lst_imprägnierBerichtNr";
this.lst_imprägnierBerichtNr.Size = new System.Drawing.Size(700, 276);
this.lst_imprägnierBerichtNr.TabIndex = 0;
this.lst_imprägnierBerichtNr.DoubleClick += new System.EventHandler(this.Lst_imprägnierBerichtNr_DoubleClick);
//
// btn_add
//
this.btn_add.Location = new System.Drawing.Point(60, 315);
this.btn_add.Name = "btn_add";
this.btn_add.Size = new System.Drawing.Size(296, 74);
this.btn_add.TabIndex = 1;
this.btn_add.Text = "Neue Hinzufügen";
this.btn_add.UseVisualStyleBackColor = true;
this.btn_add.Click += new System.EventHandler(this.Btn_add_Click);
//
// frmImprägnierBerichtList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.btn_add);
this.Controls.Add(this.lst_imprägnierBerichtNr);
this.Name = "frmImprägnierBerichtList";
this.Text = "frmImprägnierBerichtList";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.ListBox lst_imprägnierBerichtNr;
private System.Windows.Forms.Button btn_add;
}
}

View File

@@ -0,0 +1,48 @@
using KlassenBIB;
using KlassenBIB.Collections;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SanSystem
{
public partial class frmImprägnierBerichtList : Form
{
public frmImprägnierBerichtList()
{
InitializeComponent();
lst_imprägnierBerichtNr.DataSource = null;
List<string> imprägnierberichte = Database.Datenbank.Instance.MainDatenbank.ImprägnierBerichtListe.Select(x => x.Imprägniernummer).ToList();
lst_imprägnierBerichtNr.DataSource = imprägnierberichte;
}
private void Btn_add_Click(object sender, EventArgs e)
{
WerkseitigImprägniert werkseitigImprägnierts = new WerkseitigImprägniert();
Database.Datenbank.Instance.MainDatenbank.ImprägnierBerichtListe.Add(werkseitigImprägnierts);
}
private void Lst_imprägnierBerichtNr_DoubleClick(object sender, EventArgs e)
{
if ((sender as ListBox).SelectedItem == null) return;
string selectedImprägnierung = (sender as ListBox).SelectedItem.ToString();
if (selectedImprägnierung == null) return;
WerkseitigImprägniert imprägnierung = Database.Datenbank.Instance.MainDatenbank.ImprägnierBerichtListe.Find(x => x.Imprägniernummer.Equals(selectedImprägnierung));
if (imprägnierung == null) return;
frmImprägnierBerichtEdit frmImprägnierBerichtEdit = new frmImprägnierBerichtEdit(imprägnierung);
frmImprägnierBerichtEdit.ShowDialog();
/*frmObjekteList frmObjekteList = new frmObjekteList(selectedStreetName);
frmObjekteList.MdiParent = this.MdiParent;
//frmObjekteList.FormClosed += FrmObjekt_FormClosed;
frmObjekteList.Show();
*/
}
}
}

View File

@@ -0,0 +1,120 @@
<?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>
</root>

View File

@@ -39,9 +39,11 @@
this.auftraggeberToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.auftraggeberToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.speichernToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.speichernToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.massenstatistikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.massenstatistikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.projektordnerÖffnenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatus_projekt_Label = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatus_projekt_Label = new System.Windows.Forms.ToolStripStatusLabel();
this.projektordnerÖffnenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.imprägnierberichteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mainmenu.SuspendLayout(); this.mainmenu.SuspendLayout();
this.statusStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
@@ -54,7 +56,9 @@
this.projektToolStripMenuItem, this.projektToolStripMenuItem,
this.speichernToolStripMenuItem, this.speichernToolStripMenuItem,
this.massenstatistikToolStripMenuItem, this.massenstatistikToolStripMenuItem,
this.projektordnerÖffnenToolStripMenuItem}); this.projektordnerÖffnenToolStripMenuItem,
this.toolStripMenuItem1,
this.imprägnierberichteToolStripMenuItem});
this.mainmenu.Location = new System.Drawing.Point(0, 0); this.mainmenu.Location = new System.Drawing.Point(0, 0);
this.mainmenu.Name = "mainmenu"; this.mainmenu.Name = "mainmenu";
this.mainmenu.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2); this.mainmenu.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
@@ -115,6 +119,18 @@
this.massenstatistikToolStripMenuItem.Text = "Massenstatistik"; this.massenstatistikToolStripMenuItem.Text = "Massenstatistik";
this.massenstatistikToolStripMenuItem.Click += new System.EventHandler(this.massenstatistikToolStripMenuItem_Click); this.massenstatistikToolStripMenuItem.Click += new System.EventHandler(this.massenstatistikToolStripMenuItem_Click);
// //
// projektordnerÖffnenToolStripMenuItem
//
this.projektordnerÖffnenToolStripMenuItem.Name = "projektordnerÖffnenToolStripMenuItem";
this.projektordnerÖffnenToolStripMenuItem.Size = new System.Drawing.Size(211, 32);
this.projektordnerÖffnenToolStripMenuItem.Text = "Projektordner Öffnen";
this.projektordnerÖffnenToolStripMenuItem.Click += new System.EventHandler(this.ProjektordnerÖffnenToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(14, 32);
//
// statusStrip1 // statusStrip1
// //
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
@@ -133,12 +149,12 @@
this.toolStripStatus_projekt_Label.Size = new System.Drawing.Size(55, 20); this.toolStripStatus_projekt_Label.Size = new System.Drawing.Size(55, 20);
this.toolStripStatus_projekt_Label.Text = "Projekt"; this.toolStripStatus_projekt_Label.Text = "Projekt";
// //
// projektordnerÖffnenToolStripMenuItem // imprägnierberichteToolStripMenuItem
// //
this.projektordnerÖffnenToolStripMenuItem.Name = "projektordnerÖffnenToolStripMenuItem"; this.imprägnierberichteToolStripMenuItem.Name = "imprägnierberichteToolStripMenuItem";
this.projektordnerÖffnenToolStripMenuItem.Size = new System.Drawing.Size(211, 32); this.imprägnierberichteToolStripMenuItem.Size = new System.Drawing.Size(193, 32);
this.projektordnerÖffnenToolStripMenuItem.Text = "Projektordner Öffnen"; this.imprägnierberichteToolStripMenuItem.Text = "Imprägnierberichte";
this.projektordnerÖffnenToolStripMenuItem.Click += new System.EventHandler(this.ProjektordnerÖffnenToolStripMenuItem_Click); this.imprägnierberichteToolStripMenuItem.Click += new System.EventHandler(this.ImprägnierberichteToolStripMenuItem_Click);
// //
// frmMain // frmMain
// //
@@ -176,6 +192,8 @@
private System.Windows.Forms.ToolStripMenuItem stammdatenImportierenToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem stammdatenImportierenToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem auftraggeberToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem auftraggeberToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem projektordnerÖffnenToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem projektordnerÖffnenToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem imprägnierberichteToolStripMenuItem;
} }
} }

View File

@@ -187,5 +187,11 @@ namespace SanSystem
MessageBox.Show("Es ist ein fehler aufgetreten beim öffnen vom Baustellenordner " + ex.Message); MessageBox.Show("Es ist ein fehler aufgetreten beim öffnen vom Baustellenordner " + ex.Message);
} }
} }
private void ImprägnierberichteToolStripMenuItem_Click(object sender, EventArgs e)
{
frmImprägnierBerichtList frmImprägnierBerichtList = new frmImprägnierBerichtList();
frmImprägnierBerichtList.ShowDialog();
}
} }
} }