Auftraggeber können nun bearbeitet werden und werden gespeichert
This commit is contained in:
31
KlassenBIB/Auftraggeber.cs
Normal file
31
KlassenBIB/Auftraggeber.cs
Normal 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 Auftraggeber
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public string Name { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public string Strasse { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public string Ort { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public string Ansprechpartner { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -43,6 +43,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AbwasserTechnischeAnlageCollection.cs" />
|
<Compile Include="AbwasserTechnischeAnlageCollection.cs" />
|
||||||
|
<Compile Include="Auftraggeber.cs" />
|
||||||
<Compile Include="BilderCollection.cs" />
|
<Compile Include="BilderCollection.cs" />
|
||||||
<Compile Include="ChargeNummerCollection.cs" />
|
<Compile Include="ChargeNummerCollection.cs" />
|
||||||
<Compile Include="Hutprofil.cs" />
|
<Compile Include="Hutprofil.cs" />
|
||||||
|
|||||||
@@ -25,6 +25,10 @@ namespace KlassenBIB
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
public Auftraggeber Auftraggeber { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
public AbwasserTechnischeAnlageCollection Objekte { get; set; }
|
public AbwasserTechnischeAnlageCollection Objekte { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
@@ -32,6 +36,7 @@ namespace KlassenBIB
|
|||||||
public Projekt()
|
public Projekt()
|
||||||
{
|
{
|
||||||
Objekte = new AbwasserTechnischeAnlageCollection();
|
Objekte = new AbwasserTechnischeAnlageCollection();
|
||||||
|
Auftraggeber = new Auftraggeber();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
159
SanSystem/FrmAuftraggeberEdit.Designer.cs
generated
Normal file
159
SanSystem/FrmAuftraggeberEdit.Designer.cs
generated
Normal file
@@ -0,0 +1,159 @@
|
|||||||
|
namespace SanSystem
|
||||||
|
{
|
||||||
|
partial class FrmAuftraggeberEdit
|
||||||
|
{
|
||||||
|
/// <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.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.btn_save = new System.Windows.Forms.Button();
|
||||||
|
this.txt_name = new System.Windows.Forms.TextBox();
|
||||||
|
this.txt_strasse = new System.Windows.Forms.TextBox();
|
||||||
|
this.txt_ort = new System.Windows.Forms.TextBox();
|
||||||
|
this.txt_ansp = new System.Windows.Forms.TextBox();
|
||||||
|
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, 15);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(64, 25);
|
||||||
|
this.label1.TabIndex = 0;
|
||||||
|
this.label1.Text = "Name";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label2.Location = new System.Drawing.Point(12, 54);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(79, 25);
|
||||||
|
this.label2.TabIndex = 1;
|
||||||
|
this.label2.Text = "Strasse";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label3.Location = new System.Drawing.Point(12, 90);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(39, 25);
|
||||||
|
this.label3.TabIndex = 2;
|
||||||
|
this.label3.Text = "Ort";
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label4.Location = new System.Drawing.Point(12, 136);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(157, 25);
|
||||||
|
this.label4.TabIndex = 3;
|
||||||
|
this.label4.Text = "Ansprechpartner";
|
||||||
|
//
|
||||||
|
// btn_save
|
||||||
|
//
|
||||||
|
this.btn_save.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.btn_save.Location = new System.Drawing.Point(17, 185);
|
||||||
|
this.btn_save.Name = "btn_save";
|
||||||
|
this.btn_save.Size = new System.Drawing.Size(581, 105);
|
||||||
|
this.btn_save.TabIndex = 4;
|
||||||
|
this.btn_save.Text = "Speichern";
|
||||||
|
this.btn_save.UseVisualStyleBackColor = true;
|
||||||
|
this.btn_save.Click += new System.EventHandler(this.btn_save_Click);
|
||||||
|
//
|
||||||
|
// txt_name
|
||||||
|
//
|
||||||
|
this.txt_name.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txt_name.Location = new System.Drawing.Point(215, 12);
|
||||||
|
this.txt_name.Name = "txt_name";
|
||||||
|
this.txt_name.Size = new System.Drawing.Size(383, 30);
|
||||||
|
this.txt_name.TabIndex = 5;
|
||||||
|
//
|
||||||
|
// txt_strasse
|
||||||
|
//
|
||||||
|
this.txt_strasse.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txt_strasse.Location = new System.Drawing.Point(215, 51);
|
||||||
|
this.txt_strasse.Name = "txt_strasse";
|
||||||
|
this.txt_strasse.Size = new System.Drawing.Size(383, 30);
|
||||||
|
this.txt_strasse.TabIndex = 6;
|
||||||
|
//
|
||||||
|
// txt_ort
|
||||||
|
//
|
||||||
|
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(215, 90);
|
||||||
|
this.txt_ort.Name = "txt_ort";
|
||||||
|
this.txt_ort.Size = new System.Drawing.Size(383, 30);
|
||||||
|
this.txt_ort.TabIndex = 7;
|
||||||
|
//
|
||||||
|
// txt_ansp
|
||||||
|
//
|
||||||
|
this.txt_ansp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.txt_ansp.Location = new System.Drawing.Point(215, 133);
|
||||||
|
this.txt_ansp.Name = "txt_ansp";
|
||||||
|
this.txt_ansp.Size = new System.Drawing.Size(383, 30);
|
||||||
|
this.txt_ansp.TabIndex = 8;
|
||||||
|
//
|
||||||
|
// FrmAuftraggeberEdit
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(631, 304);
|
||||||
|
this.Controls.Add(this.txt_ansp);
|
||||||
|
this.Controls.Add(this.txt_ort);
|
||||||
|
this.Controls.Add(this.txt_strasse);
|
||||||
|
this.Controls.Add(this.txt_name);
|
||||||
|
this.Controls.Add(this.btn_save);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Name = "FrmAuftraggeberEdit";
|
||||||
|
this.Text = "FrmAuftraggeberEdit";
|
||||||
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmAuftraggeberEdit_FormClosing);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Button btn_save;
|
||||||
|
private System.Windows.Forms.TextBox txt_name;
|
||||||
|
private System.Windows.Forms.TextBox txt_strasse;
|
||||||
|
private System.Windows.Forms.TextBox txt_ort;
|
||||||
|
private System.Windows.Forms.TextBox txt_ansp;
|
||||||
|
}
|
||||||
|
}
|
||||||
44
SanSystem/FrmAuftraggeberEdit.cs
Normal file
44
SanSystem/FrmAuftraggeberEdit.cs
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
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 FrmAuftraggeberEdit : Form
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public FrmAuftraggeberEdit(Auftraggeber auftraggeber)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
txt_name.DataBindings.Add("Text", auftraggeber, "Name");
|
||||||
|
txt_ort.DataBindings.Add("Text", auftraggeber, "Ort");
|
||||||
|
txt_strasse.DataBindings.Add("Text", auftraggeber, "Strasse");
|
||||||
|
txt_ansp.DataBindings.Add("Text", auftraggeber, "Ansprechpartner");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void FrmAuftraggeberEdit_FormClosing(object sender, FormClosingEventArgs e)
|
||||||
|
{
|
||||||
|
txt_ansp.DataBindings.Clear();
|
||||||
|
txt_name.DataBindings.Clear();
|
||||||
|
txt_ort.DataBindings.Clear();
|
||||||
|
txt_strasse.DataBindings.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btn_save_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
SanSystem/FrmAuftraggeberEdit.resx
Normal file
120
SanSystem/FrmAuftraggeberEdit.resx
Normal 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>
|
||||||
@@ -82,6 +82,12 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Einstellungen\ObjecteListSetting.cs" />
|
<Compile Include="Einstellungen\ObjecteListSetting.cs" />
|
||||||
<Compile Include="Einstellungen\Settings.cs" />
|
<Compile Include="Einstellungen\Settings.cs" />
|
||||||
|
<Compile Include="FrmAuftraggeberEdit.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="FrmAuftraggeberEdit.Designer.cs">
|
||||||
|
<DependentUpon>FrmAuftraggeberEdit.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="FrmKalibrierungFestlegung.cs">
|
<Compile Include="FrmKalibrierungFestlegung.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -172,6 +178,9 @@
|
|||||||
<Compile Include="UCSchachtanbindung.Designer.cs">
|
<Compile Include="UCSchachtanbindung.Designer.cs">
|
||||||
<DependentUpon>UCSchachtanbindung.cs</DependentUpon>
|
<DependentUpon>UCSchachtanbindung.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<EmbeddedResource Include="FrmAuftraggeberEdit.resx">
|
||||||
|
<DependentUpon>FrmAuftraggeberEdit.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="FrmKalibrierungFestlegung.resx">
|
<EmbeddedResource Include="FrmKalibrierungFestlegung.resx">
|
||||||
<DependentUpon>FrmKalibrierungFestlegung.cs</DependentUpon>
|
<DependentUpon>FrmKalibrierungFestlegung.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
51
SanSystem/frmMain.Designer.cs
generated
51
SanSystem/frmMain.Designer.cs
generated
@@ -35,17 +35,19 @@
|
|||||||
this.projektToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.projektToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.neuToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.neuToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.öffnenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.öffnenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.stammdatenImportierenToolStripMenuItem = 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.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.stammdatenImportierenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.auftraggeberToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.mainmenu.SuspendLayout();
|
this.mainmenu.SuspendLayout();
|
||||||
this.statusStrip1.SuspendLayout();
|
this.statusStrip1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// mainmenu
|
// mainmenu
|
||||||
//
|
//
|
||||||
|
this.mainmenu.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.mainmenu.ImageScalingSize = new System.Drawing.Size(20, 20);
|
this.mainmenu.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||||
this.mainmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.mainmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.projektToolStripMenuItem,
|
this.projektToolStripMenuItem,
|
||||||
@@ -53,7 +55,8 @@
|
|||||||
this.massenstatistikToolStripMenuItem});
|
this.massenstatistikToolStripMenuItem});
|
||||||
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.Size = new System.Drawing.Size(596, 24);
|
this.mainmenu.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
|
||||||
|
this.mainmenu.Size = new System.Drawing.Size(795, 36);
|
||||||
this.mainmenu.TabIndex = 1;
|
this.mainmenu.TabIndex = 1;
|
||||||
this.mainmenu.Text = "menuStrip1";
|
this.mainmenu.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
@@ -62,36 +65,44 @@
|
|||||||
this.projektToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.projektToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.neuToolStripMenuItem,
|
this.neuToolStripMenuItem,
|
||||||
this.öffnenToolStripMenuItem,
|
this.öffnenToolStripMenuItem,
|
||||||
this.stammdatenImportierenToolStripMenuItem});
|
this.stammdatenImportierenToolStripMenuItem,
|
||||||
|
this.auftraggeberToolStripMenuItem});
|
||||||
this.projektToolStripMenuItem.Name = "projektToolStripMenuItem";
|
this.projektToolStripMenuItem.Name = "projektToolStripMenuItem";
|
||||||
this.projektToolStripMenuItem.Size = new System.Drawing.Size(56, 20);
|
this.projektToolStripMenuItem.Size = new System.Drawing.Size(86, 32);
|
||||||
this.projektToolStripMenuItem.Text = "Projekt";
|
this.projektToolStripMenuItem.Text = "Projekt";
|
||||||
//
|
//
|
||||||
// neuToolStripMenuItem
|
// neuToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.neuToolStripMenuItem.Name = "neuToolStripMenuItem";
|
this.neuToolStripMenuItem.Name = "neuToolStripMenuItem";
|
||||||
this.neuToolStripMenuItem.Size = new System.Drawing.Size(207, 22);
|
this.neuToolStripMenuItem.Size = new System.Drawing.Size(310, 32);
|
||||||
this.neuToolStripMenuItem.Text = "Neu";
|
this.neuToolStripMenuItem.Text = "Neu";
|
||||||
this.neuToolStripMenuItem.Click += new System.EventHandler(this.neuToolStripMenuItem_Click);
|
this.neuToolStripMenuItem.Click += new System.EventHandler(this.neuToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// öffnenToolStripMenuItem
|
// öffnenToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.öffnenToolStripMenuItem.Name = "öffnenToolStripMenuItem";
|
this.öffnenToolStripMenuItem.Name = "öffnenToolStripMenuItem";
|
||||||
this.öffnenToolStripMenuItem.Size = new System.Drawing.Size(207, 22);
|
this.öffnenToolStripMenuItem.Size = new System.Drawing.Size(310, 32);
|
||||||
this.öffnenToolStripMenuItem.Text = "Öffnen";
|
this.öffnenToolStripMenuItem.Text = "Öffnen";
|
||||||
this.öffnenToolStripMenuItem.Click += new System.EventHandler(this.öffnenToolStripMenuItem_Click);
|
this.öffnenToolStripMenuItem.Click += new System.EventHandler(this.öffnenToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
// stammdatenImportierenToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.stammdatenImportierenToolStripMenuItem.Name = "stammdatenImportierenToolStripMenuItem";
|
||||||
|
this.stammdatenImportierenToolStripMenuItem.Size = new System.Drawing.Size(310, 32);
|
||||||
|
this.stammdatenImportierenToolStripMenuItem.Text = "Stammdaten importieren";
|
||||||
|
this.stammdatenImportierenToolStripMenuItem.Click += new System.EventHandler(this.stammdatenImportierenToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
// speichernToolStripMenuItem
|
// speichernToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.speichernToolStripMenuItem.Name = "speichernToolStripMenuItem";
|
this.speichernToolStripMenuItem.Name = "speichernToolStripMenuItem";
|
||||||
this.speichernToolStripMenuItem.Size = new System.Drawing.Size(71, 20);
|
this.speichernToolStripMenuItem.Size = new System.Drawing.Size(110, 32);
|
||||||
this.speichernToolStripMenuItem.Text = "Speichern";
|
this.speichernToolStripMenuItem.Text = "Speichern";
|
||||||
this.speichernToolStripMenuItem.Click += new System.EventHandler(this.speichernToolStripMenuItem_Click);
|
this.speichernToolStripMenuItem.Click += new System.EventHandler(this.speichernToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// massenstatistikToolStripMenuItem
|
// massenstatistikToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.massenstatistikToolStripMenuItem.Name = "massenstatistikToolStripMenuItem";
|
this.massenstatistikToolStripMenuItem.Name = "massenstatistikToolStripMenuItem";
|
||||||
this.massenstatistikToolStripMenuItem.Size = new System.Drawing.Size(99, 20);
|
this.massenstatistikToolStripMenuItem.Size = new System.Drawing.Size(156, 32);
|
||||||
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);
|
||||||
//
|
//
|
||||||
@@ -100,35 +111,36 @@
|
|||||||
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.toolStripStatus_projekt_Label});
|
this.toolStripStatus_projekt_Label});
|
||||||
this.statusStrip1.Location = new System.Drawing.Point(0, 351);
|
this.statusStrip1.Location = new System.Drawing.Point(0, 434);
|
||||||
this.statusStrip1.Name = "statusStrip1";
|
this.statusStrip1.Name = "statusStrip1";
|
||||||
this.statusStrip1.Size = new System.Drawing.Size(596, 22);
|
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0);
|
||||||
|
this.statusStrip1.Size = new System.Drawing.Size(795, 25);
|
||||||
this.statusStrip1.TabIndex = 3;
|
this.statusStrip1.TabIndex = 3;
|
||||||
this.statusStrip1.Text = "statusStrip1";
|
this.statusStrip1.Text = "statusStrip1";
|
||||||
//
|
//
|
||||||
// toolStripStatus_projekt_Label
|
// toolStripStatus_projekt_Label
|
||||||
//
|
//
|
||||||
this.toolStripStatus_projekt_Label.Name = "toolStripStatus_projekt_Label";
|
this.toolStripStatus_projekt_Label.Name = "toolStripStatus_projekt_Label";
|
||||||
this.toolStripStatus_projekt_Label.Size = new System.Drawing.Size(44, 17);
|
this.toolStripStatus_projekt_Label.Size = new System.Drawing.Size(55, 20);
|
||||||
this.toolStripStatus_projekt_Label.Text = "Projekt";
|
this.toolStripStatus_projekt_Label.Text = "Projekt";
|
||||||
//
|
//
|
||||||
// stammdatenImportierenToolStripMenuItem
|
// auftraggeberToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.stammdatenImportierenToolStripMenuItem.Name = "stammdatenImportierenToolStripMenuItem";
|
this.auftraggeberToolStripMenuItem.Name = "auftraggeberToolStripMenuItem";
|
||||||
this.stammdatenImportierenToolStripMenuItem.Size = new System.Drawing.Size(207, 22);
|
this.auftraggeberToolStripMenuItem.Size = new System.Drawing.Size(310, 32);
|
||||||
this.stammdatenImportierenToolStripMenuItem.Text = "Stammdaten importieren";
|
this.auftraggeberToolStripMenuItem.Text = "Auftraggeber";
|
||||||
this.stammdatenImportierenToolStripMenuItem.Click += new System.EventHandler(this.stammdatenImportierenToolStripMenuItem_Click);
|
this.auftraggeberToolStripMenuItem.Click += new System.EventHandler(this.auftraggeberToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// frmMain
|
// frmMain
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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(596, 373);
|
this.ClientSize = new System.Drawing.Size(795, 459);
|
||||||
this.Controls.Add(this.statusStrip1);
|
this.Controls.Add(this.statusStrip1);
|
||||||
this.Controls.Add(this.mainmenu);
|
this.Controls.Add(this.mainmenu);
|
||||||
this.IsMdiContainer = true;
|
this.IsMdiContainer = true;
|
||||||
this.MainMenuStrip = this.mainmenu;
|
this.MainMenuStrip = this.mainmenu;
|
||||||
this.Margin = new System.Windows.Forms.Padding(2);
|
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||||
this.Name = "frmMain";
|
this.Name = "frmMain";
|
||||||
this.Text = "Kanalsanierungsverwaltung";
|
this.Text = "Kanalsanierungsverwaltung";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frm_main_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frm_main_FormClosing);
|
||||||
@@ -153,6 +165,7 @@
|
|||||||
private System.Windows.Forms.ToolStripMenuItem speichernToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem speichernToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem massenstatistikToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem massenstatistikToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem stammdatenImportierenToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem stammdatenImportierenToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem auftraggeberToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -141,5 +141,11 @@ namespace SanSystem
|
|||||||
strassenList.Show();
|
strassenList.Show();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void auftraggeberToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
FrmAuftraggeberEdit frmAuftraggeberEdit = new FrmAuftraggeberEdit(Datenbank.Instance.loadedProjekt.Auftraggeber);
|
||||||
|
frmAuftraggeberEdit.ShowDialog();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user