Es gibt jetzt hutprofil und kurzliner

This commit is contained in:
Husky
2018-07-21 15:31:10 +02:00
parent acec9fee09
commit 6d5f049650
20 changed files with 727 additions and 26 deletions

View File

@@ -14,6 +14,9 @@ using System.Windows.Forms;
namespace BerichtGen namespace BerichtGen
{ {
/// <summary>
///
/// </summary>
public partial class FrmOptions : Form public partial class FrmOptions : Form
{ {
Thread generateProtokollThread; Thread generateProtokollThread;

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class ChargeNummerCollection : List<StructChargeNummern>
{
}
}

View File

@@ -9,7 +9,7 @@ namespace KlassenBIB
/// <summary> /// <summary>
/// Zulaufeinbindung /// Zulaufeinbindung
/// </summary> /// </summary>
public class Hutprofil : Reparatur public class Hutprofil : SanMitHarz
{ {
} }
} }

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Markup;
namespace KlassenBIB namespace KlassenBIB
{ {
@@ -62,6 +63,6 @@ namespace KlassenBIB
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public Reparatur Reparatur { get; set; } public SanierungskonzeptCollection Sanierungskonzepts { get; set; }
} }
} }

View File

@@ -44,18 +44,27 @@
<ItemGroup> <ItemGroup>
<Compile Include="AbwasserTechnischeAnlageCollection.cs" /> <Compile Include="AbwasserTechnischeAnlageCollection.cs" />
<Compile Include="BilderCollection.cs" /> <Compile Include="BilderCollection.cs" />
<Compile Include="ChargeNummerCollection.cs" />
<Compile Include="Hutprofil.cs" />
<Compile Include="IImportedObjekte.cs" /> <Compile Include="IImportedObjekte.cs" />
<Compile Include="InlinerSanierung.cs" /> <Compile Include="InlinerSanierung.cs" />
<Compile Include="Kurzliner.cs" />
<Compile Include="Projekt.cs" /> <Compile Include="Projekt.cs" />
<Compile Include="Inspektionskuerzeln.cs" /> <Compile Include="Inspektionskuerzeln.cs" />
<Compile Include="InspektionskuerzelnCollection.cs" /> <Compile Include="InspektionskuerzelnCollection.cs" />
<Compile Include="Inspektionsobjekt.cs" /> <Compile Include="Inspektionsobjekt.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Quicklock.cs" />
<Compile Include="Reparatur.cs" />
<Compile Include="SanMitHarz.cs" />
<Compile Include="Sanieren.cs" /> <Compile Include="Sanieren.cs" />
<Compile Include="Sanierung.cs" /> <Compile Include="Sanierung.cs" />
<Compile Include="SanierungCollection.cs" /> <Compile Include="SanierungCollection.cs" />
<Compile Include="Sanierungskonzept.cs" />
<Compile Include="SanierungskonzeptCollection.cs" />
<Compile Include="SavedBilder.cs" /> <Compile Include="SavedBilder.cs" />
<Compile Include="SchachtAnbindung.cs" /> <Compile Include="SchachtAnbindung.cs" />
<Compile Include="StructChargeNummern.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\SanShared\SanShared.csproj"> <ProjectReference Include="..\SanShared\SanShared.csproj">

View File

@@ -9,7 +9,7 @@ namespace KlassenBIB
/// <summary> /// <summary>
/// Partielle Reparatur /// Partielle Reparatur
/// </summary> /// </summary>
public class Kurzliner : Reparatur public class Kurzliner : SanMitHarz
{ {
} }
} }

View File

@@ -12,6 +12,21 @@ namespace KlassenBIB
/// </summary> /// </summary>
public abstract class Reparatur : Sanieren public abstract class Reparatur : Sanieren
{ {
decimal positionImKanal;
/// <summary>
///
/// </summary>
public decimal PositionImKanal
{
get
{
return positionImKanal;
}
set
{
positionImKanal = value;
}
}
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>

31
KlassenBIB/SanMitHarz.cs Normal file
View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class SanMitHarz : Reparatur
{
ChargeNummerCollection chargeNummerns;
/// <summary>
/// Liste mit die Chargenummern
/// </summary>
public ChargeNummerCollection ChargeNummern
{
get
{
return chargeNummerns;
}
set
{
chargeNummerns = value;
}
}
}
}

View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Markup;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class Sanierungskonzept
{
string anweisung;
/// <summary>
/// Anweisung zur Darstellung vom Art des Reparatur
/// </summary>
public string Anweisung
{
get
{
return anweisung;
}
set
{
anweisung = value;
}
}
/// <summary>
/// Die Reparatur
/// </summary>
public Reparatur Reparatur { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class SanierungskonzeptCollection : List<Sanierungskonzept>
{
}
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public struct StructChargeNummern
{
/// <summary>
/// Bezeichnung des Harzes oder Material
/// </summary>
public string Bezeichnung;
/// <summary>
/// ChargeNummer vom Material
/// </summary>
public string ChargeNummer;
}
}

View File

@@ -0,0 +1,88 @@
namespace SanSystem
{
partial class FrmReparaturKonzept
{
/// <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.label1 = new System.Windows.Forms.Label();
this.txt_anweisung = new System.Windows.Forms.TextBox();
this.btn_add_san = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(51, 20);
this.label1.TabIndex = 0;
this.label1.Text = "label1";
//
// txt_anweisung
//
this.txt_anweisung.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_anweisung.Location = new System.Drawing.Point(121, 9);
this.txt_anweisung.Multiline = true;
this.txt_anweisung.Name = "txt_anweisung";
this.txt_anweisung.Size = new System.Drawing.Size(221, 260);
this.txt_anweisung.TabIndex = 1;
//
// btn_add_san
//
this.btn_add_san.Location = new System.Drawing.Point(12, 275);
this.btn_add_san.Name = "btn_add_san";
this.btn_add_san.Size = new System.Drawing.Size(330, 84);
this.btn_add_san.TabIndex = 2;
this.btn_add_san.Text = "Sanierung hinzufügen";
this.btn_add_san.UseVisualStyleBackColor = true;
this.btn_add_san.Click += new System.EventHandler(this.btn_add_san_Click);
//
// FrmReparaturKonzept
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(354, 371);
this.Controls.Add(this.btn_add_san);
this.Controls.Add(this.txt_anweisung);
this.Controls.Add(this.label1);
this.Name = "FrmReparaturKonzept";
this.Text = "FrmRepaturKonzept";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmRepaturKonzept_FormClosing);
this.Load += new System.EventHandler(this.FrmRepaturKonzept_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txt_anweisung;
private System.Windows.Forms.Button btn_add_san;
}
}

View File

@@ -0,0 +1,45 @@
using KlassenBIB;
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
{
/// <summary>
///
/// </summary>
public partial class FrmReparaturKonzept : Form
{
Sanierungskonzept konzept = null;
/// <summary>
///
/// </summary>
/// <param name="konzept"></param>
public FrmReparaturKonzept(Sanierungskonzept konzept)
{
InitializeComponent();
this.konzept = konzept != null ? konzept : new Sanierungskonzept();
}
private void FrmRepaturKonzept_Load(object sender, EventArgs e)
{
txt_anweisung.DataBindings.Add(new Binding("text", konzept, "Anweisung"));
}
private void FrmRepaturKonzept_FormClosing(object sender, FormClosingEventArgs e)
{
txt_anweisung.DataBindings.Clear();
}
private void btn_add_san_Click(object sender, EventArgs e)
{
FrmSelectNewSan frmSelectNewSan = new FrmSelectNewSan();
}
}
}

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>

89
SanSystem/FrmSanKonzeptList.Designer.cs generated Normal file
View File

@@ -0,0 +1,89 @@
namespace SanSystem
{
partial class FrmSanKonzeptList
{
/// <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.label1 = new System.Windows.Forms.Label();
this.btn_san_add = new System.Windows.Forms.Button();
this.lb_sans = new System.Windows.Forms.ListBox();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(12, 14);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(82, 20);
this.label1.TabIndex = 0;
this.label1.Text = "Sanierung";
//
// btn_san_add
//
this.btn_san_add.Location = new System.Drawing.Point(12, 174);
this.btn_san_add.Name = "btn_san_add";
this.btn_san_add.Size = new System.Drawing.Size(429, 91);
this.btn_san_add.TabIndex = 2;
this.btn_san_add.Text = "Neue Sanierung";
this.btn_san_add.UseVisualStyleBackColor = true;
this.btn_san_add.Click += new System.EventHandler(this.btn_san_add_Click);
//
// lb_sans
//
this.lb_sans.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lb_sans.FormattingEnabled = true;
this.lb_sans.ItemHeight = 20;
this.lb_sans.Location = new System.Drawing.Point(172, 12);
this.lb_sans.Name = "lb_sans";
this.lb_sans.Size = new System.Drawing.Size(269, 144);
this.lb_sans.TabIndex = 3;
//
// FrmSanKonzeptList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(453, 280);
this.Controls.Add(this.lb_sans);
this.Controls.Add(this.btn_san_add);
this.Controls.Add(this.label1);
this.Name = "FrmSanKonzeptList";
this.Text = "FrmSanKonzept";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmSanKonzept_FormClosing);
this.Load += new System.EventHandler(this.FrmSanKonzept_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btn_san_add;
private System.Windows.Forms.ListBox lb_sans;
}
}

View File

@@ -0,0 +1,50 @@
using KlassenBIB;
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
{
/// <summary>
///
/// </summary>
public partial class FrmSanKonzeptList : Form
{
List<Sanierungskonzept> sanierungskonzept;
/// <summary>
/// <paramref name="sanierungskonzept"/>
/// </summary>
public FrmSanKonzeptList(List<Sanierungskonzept> sanierungskonzept)
{
InitializeComponent();
this.sanierungskonzept = sanierungskonzept != null ? sanierungskonzept : new List<Sanierungskonzept>();
}
private void FrmSanKonzept_Load(object sender, EventArgs e)
{
lb_sans.DataSource = sanierungskonzept;
}
private void FrmSanKonzept_FormClosing(object sender, FormClosingEventArgs e)
{
}
private void btn_san_add_Click(object sender, EventArgs e)
{
Sanierungskonzept sankonzept = new Sanierungskonzept();
sanierungskonzept.Add(sankonzept);
FrmReparaturKonzept frmReparaturKonzept = new FrmReparaturKonzept(sankonzept);
frmReparaturKonzept.ShowDialog();
}
}
}

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

@@ -112,6 +112,18 @@
<Compile Include="frmProjektList.Designer.cs"> <Compile Include="frmProjektList.Designer.cs">
<DependentUpon>frmProjektList.cs</DependentUpon> <DependentUpon>frmProjektList.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="FrmReparaturKonzept.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmReparaturKonzept.Designer.cs">
<DependentUpon>FrmReparaturKonzept.cs</DependentUpon>
</Compile>
<Compile Include="FrmSanKonzeptList.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmSanKonzeptList.Designer.cs">
<DependentUpon>FrmSanKonzeptList.cs</DependentUpon>
</Compile>
<Compile Include="FrmSelectMassenDate.cs"> <Compile Include="FrmSelectMassenDate.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -174,6 +186,12 @@
<EmbeddedResource Include="frmProjektList.resx"> <EmbeddedResource Include="frmProjektList.resx">
<DependentUpon>frmProjektList.cs</DependentUpon> <DependentUpon>frmProjektList.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="FrmReparaturKonzept.resx">
<DependentUpon>FrmReparaturKonzept.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmSanKonzeptList.resx">
<DependentUpon>FrmSanKonzeptList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmSelectMassenDate.resx"> <EmbeddedResource Include="FrmSelectMassenDate.resx">
<DependentUpon>FrmSelectMassenDate.cs</DependentUpon> <DependentUpon>FrmSelectMassenDate.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@@ -59,11 +59,11 @@
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.dgv_schadenkuerzel = new System.Windows.Forms.DataGridView();
this.btn_close = new System.Windows.Forms.Button(); this.btn_close = new System.Windows.Forms.Button();
this.btn_add_san = new System.Windows.Forms.Button(); this.btn_add_san = new System.Windows.Forms.Button();
this.btn_delete = new System.Windows.Forms.Button(); this.btn_delete = new System.Windows.Forms.Button();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.dgv_schadenkuerzel = new System.Windows.Forms.DataGridView();
this.tabControl1.SuspendLayout(); this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout(); this.tabPage1.SuspendLayout();
this.groupBox2.SuspendLayout(); this.groupBox2.SuspendLayout();
@@ -448,6 +448,28 @@
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "Projektnummer"; this.label1.Text = "Projektnummer";
// //
// tabPage2
//
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;
//
// dgv_schadenkuerzel
//
this.dgv_schadenkuerzel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgv_schadenkuerzel.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgv_schadenkuerzel.Location = new System.Drawing.Point(6, 6);
this.dgv_schadenkuerzel.Name = "dgv_schadenkuerzel";
this.dgv_schadenkuerzel.Size = new System.Drawing.Size(1268, 269);
this.dgv_schadenkuerzel.TabIndex = 0;
this.dgv_schadenkuerzel.RowHeaderMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgv_schadenkuerzel_RowHeaderMouseDoubleClick);
//
// btn_close // btn_close
// //
this.btn_close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btn_close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@@ -480,27 +502,6 @@
this.btn_delete.UseVisualStyleBackColor = true; this.btn_delete.UseVisualStyleBackColor = true;
this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click); this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click);
// //
// tabPage2
//
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;
//
// dgv_schadenkuerzel
//
this.dgv_schadenkuerzel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgv_schadenkuerzel.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgv_schadenkuerzel.Location = new System.Drawing.Point(6, 6);
this.dgv_schadenkuerzel.Name = "dgv_schadenkuerzel";
this.dgv_schadenkuerzel.Size = new System.Drawing.Size(1268, 269);
this.dgv_schadenkuerzel.TabIndex = 0;
//
// frmObjektEdit // frmObjektEdit
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);

View File

@@ -183,5 +183,26 @@ namespace SanSystem
txt_objekt_name.DataBindings.Add(new Binding("Text", inspektionsobjekt, "Objektbezeichnung")); txt_objekt_name.DataBindings.Add(new Binding("Text", inspektionsobjekt, "Objektbezeichnung"));
} }
} }
private void dgv_schadenkuerzel_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
{
DataGridView dataGridView = (DataGridView)sender;
if (dataGridView == null) return;
DataGridViewSelectedRowCollection dataGridViewRowsSelect = dataGridView.SelectedRows;
if (dataGridViewRowsSelect.Count > 1) return;
DataGridViewRow dgvr = dataGridViewRowsSelect[0];
Inspektionskuerzeln kuerzel = (dgvr.DataBoundItem as Inspektionskuerzeln);
if (kuerzel == null) return;
if (kuerzel.Sanierungskonzepts == null)
kuerzel.Sanierungskonzepts = new SanierungskonzeptCollection();
FrmSanKonzeptList frmSanKonzept = new FrmSanKonzeptList(kuerzel.Sanierungskonzepts);
//frmSanKonzept.MdiParent = this.MdiParent;
frmSanKonzept.ShowDialog();
}
} }
} }