From 147a9b5283422766a93baaaa1497e7c9e7cb58b2 Mon Sep 17 00:00:00 2001 From: Husky Date: Sat, 14 Jul 2018 19:01:24 +0200 Subject: [PATCH] Linergrundlagen auslagern --- .../FrmKalibrierungFestlegung.Designer.cs | 39 +++ SanSystem/FrmKalibrierungFestlegung.cs | 20 ++ SanSystem/UCLinerGrundlagen.Designer.cs | 299 ++++++++++++++++++ SanSystem/UCLinerGrundlagen.cs | 20 ++ SanSystem/UCLinerGrundlagen.resx | 120 +++++++ SanSystem/frmObjekteList.Designer.cs | 24 +- 6 files changed, 516 insertions(+), 6 deletions(-) create mode 100644 SanSystem/FrmKalibrierungFestlegung.Designer.cs create mode 100644 SanSystem/FrmKalibrierungFestlegung.cs create mode 100644 SanSystem/UCLinerGrundlagen.Designer.cs create mode 100644 SanSystem/UCLinerGrundlagen.cs create mode 100644 SanSystem/UCLinerGrundlagen.resx diff --git a/SanSystem/FrmKalibrierungFestlegung.Designer.cs b/SanSystem/FrmKalibrierungFestlegung.Designer.cs new file mode 100644 index 0000000..d5f7abf --- /dev/null +++ b/SanSystem/FrmKalibrierungFestlegung.Designer.cs @@ -0,0 +1,39 @@ +namespace SanSystem +{ + partial class FrmKalibrierungFestlegung + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "FrmKalibrierungFestlegung"; + } + + #endregion + } +} \ No newline at end of file diff --git a/SanSystem/FrmKalibrierungFestlegung.cs b/SanSystem/FrmKalibrierungFestlegung.cs new file mode 100644 index 0000000..484db5b --- /dev/null +++ b/SanSystem/FrmKalibrierungFestlegung.cs @@ -0,0 +1,20 @@ +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 FrmKalibrierungFestlegung : Form + { + public FrmKalibrierungFestlegung() + { + InitializeComponent(); + } + } +} diff --git a/SanSystem/UCLinerGrundlagen.Designer.cs b/SanSystem/UCLinerGrundlagen.Designer.cs new file mode 100644 index 0000000..05e00e0 --- /dev/null +++ b/SanSystem/UCLinerGrundlagen.Designer.cs @@ -0,0 +1,299 @@ +namespace SanSystem +{ + partial class UCLinerGrundlagen + { + /// + /// Erforderliche Designervariable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Verwendete Ressourcen bereinigen. + /// + /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Vom Komponenten-Designer generierter Code + + /// + /// Erforderliche Methode für die Designerunterstützung. + /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. + /// + private void InitializeComponent() + { + this.txt_liner = new System.Windows.Forms.TextBox(); + this.txt_harzbedarf = new System.Windows.Forms.TextBox(); + this.txt_harz = new System.Windows.Forms.TextBox(); + this.txt_charge_liner = new System.Windows.Forms.TextBox(); + this.txt_charge_harz = new System.Windows.Forms.TextBox(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.dt_kalibrierdatum = new System.Windows.Forms.DateTimePicker(); + this.txt_vakuum = new System.Windows.Forms.TextBox(); + this.txt_temp_harz = new System.Windows.Forms.TextBox(); + this.txt_walze_distance = new System.Windows.Forms.TextBox(); + this.label17 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.label12 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.groupBox1.SuspendLayout(); + this.SuspendLayout(); + // + // txt_liner + // + this.txt_liner.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txt_liner.Location = new System.Drawing.Point(134, 117); + this.txt_liner.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txt_liner.Name = "txt_liner"; + this.txt_liner.Size = new System.Drawing.Size(148, 26); + this.txt_liner.TabIndex = 34; + // + // txt_harzbedarf + // + this.txt_harzbedarf.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txt_harzbedarf.Location = new System.Drawing.Point(134, 66); + this.txt_harzbedarf.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txt_harzbedarf.Name = "txt_harzbedarf"; + this.txt_harzbedarf.Size = new System.Drawing.Size(148, 26); + this.txt_harzbedarf.TabIndex = 33; + // + // txt_harz + // + this.txt_harz.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txt_harz.Location = new System.Drawing.Point(134, 12); + this.txt_harz.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txt_harz.Name = "txt_harz"; + this.txt_harz.Size = new System.Drawing.Size(148, 26); + this.txt_harz.TabIndex = 31; + // + // txt_charge_liner + // + this.txt_charge_liner.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txt_charge_liner.Location = new System.Drawing.Point(530, 117); + this.txt_charge_liner.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txt_charge_liner.Name = "txt_charge_liner"; + this.txt_charge_liner.Size = new System.Drawing.Size(300, 26); + this.txt_charge_liner.TabIndex = 35; + // + // txt_charge_harz + // + this.txt_charge_harz.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txt_charge_harz.Location = new System.Drawing.Point(530, 15); + this.txt_charge_harz.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txt_charge_harz.Name = "txt_charge_harz"; + this.txt_charge_harz.Size = new System.Drawing.Size(300, 26); + this.txt_charge_harz.TabIndex = 32; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.dt_kalibrierdatum); + this.groupBox1.Controls.Add(this.txt_vakuum); + this.groupBox1.Controls.Add(this.txt_temp_harz); + this.groupBox1.Controls.Add(this.txt_walze_distance); + this.groupBox1.Controls.Add(this.label17); + this.groupBox1.Controls.Add(this.label14); + this.groupBox1.Controls.Add(this.label16); + this.groupBox1.Controls.Add(this.label15); + this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox1.Location = new System.Drawing.Point(12, 197); + this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.groupBox1.Size = new System.Drawing.Size(688, 278); + this.groupBox1.TabIndex = 30; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Kalibrierung"; + // + // dt_kalibrierdatum + // + this.dt_kalibrierdatum.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dt_kalibrierdatum.Location = new System.Drawing.Point(212, 48); + this.dt_kalibrierdatum.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.dt_kalibrierdatum.Name = "dt_kalibrierdatum"; + this.dt_kalibrierdatum.Size = new System.Drawing.Size(283, 26); + this.dt_kalibrierdatum.TabIndex = 25; + // + // txt_vakuum + // + this.txt_vakuum.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txt_vakuum.Location = new System.Drawing.Point(518, 118); + this.txt_vakuum.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txt_vakuum.Name = "txt_vakuum"; + this.txt_vakuum.Size = new System.Drawing.Size(148, 26); + this.txt_vakuum.TabIndex = 27; + // + // txt_temp_harz + // + this.txt_temp_harz.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txt_temp_harz.Location = new System.Drawing.Point(212, 232); + this.txt_temp_harz.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txt_temp_harz.Name = "txt_temp_harz"; + this.txt_temp_harz.Size = new System.Drawing.Size(148, 26); + this.txt_temp_harz.TabIndex = 28; + // + // txt_walze_distance + // + this.txt_walze_distance.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txt_walze_distance.Location = new System.Drawing.Point(212, 118); + this.txt_walze_distance.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txt_walze_distance.Name = "txt_walze_distance"; + this.txt_walze_distance.Size = new System.Drawing.Size(148, 26); + this.txt_walze_distance.TabIndex = 26; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label17.Location = new System.Drawing.Point(406, 123); + this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(68, 20); + this.label17.TabIndex = 8; + this.label17.Text = "Vakuum"; + // + // 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(9, 235); + this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(129, 20); + this.label14.TabIndex = 5; + this.label14.Text = "Temperatur Harz"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label16.Location = new System.Drawing.Point(3, 123); + this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(127, 20); + this.label16.TabIndex = 7; + this.label16.Text = "Walzen-Abstand"; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label15.Location = new System.Drawing.Point(3, 48); + this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(166, 20); + this.label15.TabIndex = 6; + this.label15.Text = "Datum der Kalibierung"; + // + // label13 + // + 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.Location = new System.Drawing.Point(340, 123); + this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(126, 20); + this.label13.TabIndex = 29; + this.label13.Text = "Charge-Nummer"; + // + // 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(8, 123); + this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(44, 20); + this.label12.TabIndex = 28; + this.label12.Text = "Liner"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label11.Location = new System.Drawing.Point(8, 69); + this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(110, 20); + this.label11.TabIndex = 27; + this.label11.Text = "Harzbedarf /m"; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label10.Location = new System.Drawing.Point(340, 15); + this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(126, 20); + this.label10.TabIndex = 26; + this.label10.Text = "Charge-Nummer"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label9.Location = new System.Drawing.Point(8, 15); + this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(43, 20); + this.label9.TabIndex = 25; + this.label9.Text = "Harz"; + // + // UCLinerGrundlagen + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.txt_liner); + this.Controls.Add(this.txt_harzbedarf); + this.Controls.Add(this.txt_harz); + this.Controls.Add(this.txt_charge_liner); + this.Controls.Add(this.txt_charge_harz); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.label13); + this.Controls.Add(this.label12); + this.Controls.Add(this.label11); + this.Controls.Add(this.label10); + this.Controls.Add(this.label9); + this.Name = "UCLinerGrundlagen"; + this.Size = new System.Drawing.Size(847, 503); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox txt_liner; + private System.Windows.Forms.TextBox txt_harzbedarf; + private System.Windows.Forms.TextBox txt_harz; + private System.Windows.Forms.TextBox txt_charge_liner; + private System.Windows.Forms.TextBox txt_charge_harz; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.DateTimePicker dt_kalibrierdatum; + private System.Windows.Forms.TextBox txt_vakuum; + private System.Windows.Forms.TextBox txt_temp_harz; + private System.Windows.Forms.TextBox txt_walze_distance; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.Label label9; + } +} diff --git a/SanSystem/UCLinerGrundlagen.cs b/SanSystem/UCLinerGrundlagen.cs new file mode 100644 index 0000000..b11e32d --- /dev/null +++ b/SanSystem/UCLinerGrundlagen.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace SanSystem +{ + public partial class UCLinerGrundlagen : UserControl + { + public UCLinerGrundlagen() + { + InitializeComponent(); + } + } +} diff --git a/SanSystem/UCLinerGrundlagen.resx b/SanSystem/UCLinerGrundlagen.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/SanSystem/UCLinerGrundlagen.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/SanSystem/frmObjekteList.Designer.cs b/SanSystem/frmObjekteList.Designer.cs index 5667db4..1d9164f 100644 --- a/SanSystem/frmObjekteList.Designer.cs +++ b/SanSystem/frmObjekteList.Designer.cs @@ -49,6 +49,7 @@ this.gb_error_messages = new System.Windows.Forms.GroupBox(); this.btn_search = new System.Windows.Forms.Button(); this.btn_make_ausdruck = new System.Windows.Forms.Button(); + this.btn_set_kali = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.dGObjekte)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.strasseBindingSource)).BeginInit(); this.gb_error_messages.SuspendLayout(); @@ -72,7 +73,7 @@ // // btn_add // - this.btn_add.Location = new System.Drawing.Point(533, 214); + this.btn_add.Location = new System.Drawing.Point(510, 154); this.btn_add.Margin = new System.Windows.Forms.Padding(2); this.btn_add.Name = "btn_add"; this.btn_add.Size = new System.Drawing.Size(102, 101); @@ -217,7 +218,7 @@ this.gb_error_messages.Controls.Add(this.lbl_grounddata); this.gb_error_messages.Controls.Add(this.label1); this.gb_error_messages.Controls.Add(this.label5); - this.gb_error_messages.Location = new System.Drawing.Point(514, 77); + this.gb_error_messages.Location = new System.Drawing.Point(515, 46); this.gb_error_messages.Name = "gb_error_messages"; this.gb_error_messages.Size = new System.Drawing.Size(351, 103); this.gb_error_messages.TabIndex = 16; @@ -226,28 +227,38 @@ // // btn_search // - this.btn_search.Location = new System.Drawing.Point(640, 214); + this.btn_search.Location = new System.Drawing.Point(617, 154); this.btn_search.Name = "btn_search"; - this.btn_search.Size = new System.Drawing.Size(119, 101); + this.btn_search.Size = new System.Drawing.Size(102, 101); this.btn_search.TabIndex = 17; this.btn_search.Text = "Suchen"; this.btn_search.UseVisualStyleBackColor = true; // // btn_make_ausdruck // - this.btn_make_ausdruck.Location = new System.Drawing.Point(780, 222); + this.btn_make_ausdruck.Location = new System.Drawing.Point(725, 155); this.btn_make_ausdruck.Name = "btn_make_ausdruck"; - this.btn_make_ausdruck.Size = new System.Drawing.Size(84, 92); + this.btn_make_ausdruck.Size = new System.Drawing.Size(102, 101); this.btn_make_ausdruck.TabIndex = 18; this.btn_make_ausdruck.Text = "Ausdruck für Pregnieren"; this.btn_make_ausdruck.UseVisualStyleBackColor = true; this.btn_make_ausdruck.Click += new System.EventHandler(this.btn_make_ausdruck_Click); // + // btn_set_kali + // + this.btn_set_kali.Location = new System.Drawing.Point(510, 262); + this.btn_set_kali.Name = "btn_set_kali"; + this.btn_set_kali.Size = new System.Drawing.Size(317, 53); + this.btn_set_kali.TabIndex = 19; + this.btn_set_kali.Text = "Ausgewählte mit Linergrundlagen versehen"; + this.btn_set_kali.UseVisualStyleBackColor = true; + // // frmObjekteList // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(879, 338); + this.Controls.Add(this.btn_set_kali); this.Controls.Add(this.btn_make_ausdruck); this.Controls.Add(this.btn_search); this.Controls.Add(this.gb_error_messages); @@ -300,5 +311,6 @@ private System.Windows.Forms.GroupBox gb_error_messages; private System.Windows.Forms.Button btn_search; private System.Windows.Forms.Button btn_make_ausdruck; + private System.Windows.Forms.Button btn_set_kali; } } \ No newline at end of file