Es wird nach aktuelle Besatzung gefragt

This commit is contained in:
HuskyTeufel
2021-04-29 12:42:49 +02:00
parent a5677a93e7
commit 1112644cfe
9 changed files with 313 additions and 29 deletions

114
SanSystem/FrmAktuelleBesatzung.Designer.cs generated Normal file
View File

@@ -0,0 +1,114 @@

namespace SanSystem
{
partial class FrmAktuelleBesatzung
{
/// <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.txt_vorarbeiter = new System.Windows.Forms.TextBox();
this.txt_nacharbeiter = new System.Windows.Forms.TextBox();
this.btn_ok = 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(415, 20);
this.label1.TabIndex = 0;
this.label1.Text = "Wer möchte sich Heute die Weltherschaft an sich reißen?";
//
// 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(244, 35);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(13, 20);
this.label2.TabIndex = 1;
this.label2.Text = "/";
//
// txt_vorarbeiter
//
this.txt_vorarbeiter.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_vorarbeiter.Location = new System.Drawing.Point(12, 32);
this.txt_vorarbeiter.Name = "txt_vorarbeiter";
this.txt_vorarbeiter.Size = new System.Drawing.Size(226, 26);
this.txt_vorarbeiter.TabIndex = 2;
//
// txt_nacharbeiter
//
this.txt_nacharbeiter.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txt_nacharbeiter.Location = new System.Drawing.Point(263, 32);
this.txt_nacharbeiter.Name = "txt_nacharbeiter";
this.txt_nacharbeiter.Size = new System.Drawing.Size(226, 26);
this.txt_nacharbeiter.TabIndex = 3;
//
// btn_ok
//
this.btn_ok.BackColor = System.Drawing.SystemColors.InactiveCaption;
this.btn_ok.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_ok.Location = new System.Drawing.Point(12, 64);
this.btn_ok.Name = "btn_ok";
this.btn_ok.Size = new System.Drawing.Size(477, 87);
this.btn_ok.TabIndex = 4;
this.btn_ok.Text = "OK";
this.btn_ok.UseVisualStyleBackColor = false;
this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click);
//
// FrmAktuelleBesatzung
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(503, 168);
this.ControlBox = false;
this.Controls.Add(this.btn_ok);
this.Controls.Add(this.txt_nacharbeiter);
this.Controls.Add(this.txt_vorarbeiter);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FrmAktuelleBesatzung";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txt_vorarbeiter;
private System.Windows.Forms.TextBox txt_nacharbeiter;
private System.Windows.Forms.Button btn_ok;
}
}

View File

@@ -0,0 +1,26 @@
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 FrmAktuelleBesatzung : Form
{
public FrmAktuelleBesatzung()
{
InitializeComponent();
}
private void btn_ok_Click(object sender, EventArgs e)
{
Global.Instance.AktuelleBesatzung = string.Format("{0} / {1}", txt_vorarbeiter.Text, txt_nacharbeiter.Text);
this.Close();
}
}
}

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

@@ -23,6 +23,8 @@ namespace SanSystem
const string speicherpfad_to_projekts = "projekte"; const string speicherpfad_to_projekts = "projekte";
private readonly string programmversion = string.Empty; private readonly string programmversion = string.Empty;
public string AktuelleBesatzung = string.Empty;
string projektpfad = "18-850"; string projektpfad = "18-850";
string statusMessage = ""; string statusMessage = "";

View File

@@ -120,6 +120,12 @@
<Compile Include="Einstellungen\ObjecteListSetting.cs" /> <Compile Include="Einstellungen\ObjecteListSetting.cs" />
<Compile Include="Einstellungen\Settings.cs" /> <Compile Include="Einstellungen\Settings.cs" />
<Compile Include="Einstellungen\StreetListSettings.cs" /> <Compile Include="Einstellungen\StreetListSettings.cs" />
<Compile Include="FrmAktuelleBesatzung.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmAktuelleBesatzung.Designer.cs">
<DependentUpon>FrmAktuelleBesatzung.cs</DependentUpon>
</Compile>
<Compile Include="frmAuftraggeberEdit.cs"> <Compile Include="frmAuftraggeberEdit.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -263,6 +269,9 @@
<Compile Include="UCWerkseitigImprägniert.Designer.cs"> <Compile Include="UCWerkseitigImprägniert.Designer.cs">
<DependentUpon>UCWerkseitigImprägniert.cs</DependentUpon> <DependentUpon>UCWerkseitigImprägniert.cs</DependentUpon>
</Compile> </Compile>
<EmbeddedResource Include="FrmAktuelleBesatzung.resx">
<DependentUpon>FrmAktuelleBesatzung.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmAuftraggeberEdit.resx"> <EmbeddedResource Include="frmAuftraggeberEdit.resx">
<DependentUpon>frmAuftraggeberEdit.cs</DependentUpon> <DependentUpon>frmAuftraggeberEdit.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@@ -104,11 +104,11 @@
this.tabPage2.Controls.Add(this.cb_stvo); this.tabPage2.Controls.Add(this.cb_stvo);
this.tabPage2.Controls.Add(this.cb_wasserhaltung); this.tabPage2.Controls.Add(this.cb_wasserhaltung);
this.tabPage2.Controls.Add(this.cb_genehmigung); this.tabPage2.Controls.Add(this.cb_genehmigung);
this.tabPage2.Location = new System.Drawing.Point(4, 34); this.tabPage2.Location = new System.Drawing.Point(4, 29);
this.tabPage2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.tabPage2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tabPage2.Name = "tabPage2"; this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); this.tabPage2.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.tabPage2.Size = new System.Drawing.Size(1336, 664); this.tabPage2.Size = new System.Drawing.Size(1336, 669);
this.tabPage2.TabIndex = 1; this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Vorraussetzungen"; this.tabPage2.Text = "Vorraussetzungen";
this.tabPage2.UseVisualStyleBackColor = true; this.tabPage2.UseVisualStyleBackColor = true;
@@ -128,7 +128,7 @@
this.label6.AutoSize = true; this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(713, 337); this.label6.Location = new System.Drawing.Point(713, 337);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(42, 25); this.label6.Size = new System.Drawing.Size(34, 20);
this.label6.TabIndex = 42; this.label6.TabIndex = 42;
this.label6.Text = "Bar"; this.label6.Text = "Bar";
// //
@@ -136,7 +136,7 @@
// //
this.txt_einbaudruck.Location = new System.Drawing.Point(564, 334); this.txt_einbaudruck.Location = new System.Drawing.Point(564, 334);
this.txt_einbaudruck.Name = "txt_einbaudruck"; this.txt_einbaudruck.Name = "txt_einbaudruck";
this.txt_einbaudruck.Size = new System.Drawing.Size(138, 30); this.txt_einbaudruck.Size = new System.Drawing.Size(138, 26);
this.txt_einbaudruck.TabIndex = 41; this.txt_einbaudruck.TabIndex = 41;
// //
// label5 // label5
@@ -144,7 +144,7 @@
this.label5.AutoSize = true; this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(398, 337); this.label5.Location = new System.Drawing.Point(398, 337);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(121, 25); this.label5.Size = new System.Drawing.Size(98, 20);
this.label5.TabIndex = 40; this.label5.TabIndex = 40;
this.label5.Text = "Einbaudruck"; this.label5.Text = "Einbaudruck";
// //
@@ -167,7 +167,7 @@
this.cb_preliner.Location = new System.Drawing.Point(8, 130); this.cb_preliner.Location = new System.Drawing.Point(8, 130);
this.cb_preliner.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.cb_preliner.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cb_preliner.Name = "cb_preliner"; this.cb_preliner.Name = "cb_preliner";
this.cb_preliner.Size = new System.Drawing.Size(253, 29); this.cb_preliner.Size = new System.Drawing.Size(205, 24);
this.cb_preliner.TabIndex = 38; this.cb_preliner.TabIndex = 38;
this.cb_preliner.Text = "Preliner wurde verwendet"; this.cb_preliner.Text = "Preliner wurde verwendet";
this.cb_preliner.UseVisualStyleBackColor = true; this.cb_preliner.UseVisualStyleBackColor = true;
@@ -176,15 +176,16 @@
// //
this.txt_besatzung.Location = new System.Drawing.Point(564, 264); this.txt_besatzung.Location = new System.Drawing.Point(564, 264);
this.txt_besatzung.Name = "txt_besatzung"; this.txt_besatzung.Name = "txt_besatzung";
this.txt_besatzung.Size = new System.Drawing.Size(296, 30); this.txt_besatzung.Size = new System.Drawing.Size(296, 26);
this.txt_besatzung.TabIndex = 37; this.txt_besatzung.TabIndex = 37;
this.txt_besatzung.Enter += new System.EventHandler(this.txt_besatzung_Enter);
// //
// label2 // label2
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(398, 267); this.label2.Location = new System.Drawing.Point(398, 267);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(105, 25); this.label2.Size = new System.Drawing.Size(86, 20);
this.label2.TabIndex = 36; this.label2.TabIndex = 36;
this.label2.Text = "Besatzung"; this.label2.Text = "Besatzung";
// //
@@ -205,7 +206,7 @@
this.cb_mech.AutoSize = true; this.cb_mech.AutoSize = true;
this.cb_mech.Location = new System.Drawing.Point(6, 90); this.cb_mech.Location = new System.Drawing.Point(6, 90);
this.cb_mech.Name = "cb_mech"; this.cb_mech.Name = "cb_mech";
this.cb_mech.Size = new System.Drawing.Size(140, 29); this.cb_mech.Size = new System.Drawing.Size(113, 24);
this.cb_mech.TabIndex = 2; this.cb_mech.TabIndex = 2;
this.cb_mech.Text = "Mechanisch"; this.cb_mech.Text = "Mechanisch";
this.cb_mech.UseVisualStyleBackColor = true; this.cb_mech.UseVisualStyleBackColor = true;
@@ -215,7 +216,7 @@
this.cb_roboter.AutoSize = true; this.cb_roboter.AutoSize = true;
this.cb_roboter.Location = new System.Drawing.Point(6, 60); this.cb_roboter.Location = new System.Drawing.Point(6, 60);
this.cb_roboter.Name = "cb_roboter"; this.cb_roboter.Name = "cb_roboter";
this.cb_roboter.Size = new System.Drawing.Size(102, 29); this.cb_roboter.Size = new System.Drawing.Size(86, 24);
this.cb_roboter.TabIndex = 1; this.cb_roboter.TabIndex = 1;
this.cb_roboter.Text = "Roboter"; this.cb_roboter.Text = "Roboter";
this.cb_roboter.UseVisualStyleBackColor = true; this.cb_roboter.UseVisualStyleBackColor = true;
@@ -227,7 +228,7 @@
this.cb_hd.CheckState = System.Windows.Forms.CheckState.Checked; this.cb_hd.CheckState = System.Windows.Forms.CheckState.Checked;
this.cb_hd.Location = new System.Drawing.Point(6, 29); this.cb_hd.Location = new System.Drawing.Point(6, 29);
this.cb_hd.Name = "cb_hd"; this.cb_hd.Name = "cb_hd";
this.cb_hd.Size = new System.Drawing.Size(67, 29); this.cb_hd.Size = new System.Drawing.Size(56, 24);
this.cb_hd.TabIndex = 0; this.cb_hd.TabIndex = 0;
this.cb_hd.Text = "HD "; this.cb_hd.Text = "HD ";
this.cb_hd.UseVisualStyleBackColor = true; this.cb_hd.UseVisualStyleBackColor = true;
@@ -265,7 +266,7 @@
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(398, 237); this.label1.Location = new System.Drawing.Point(398, 237);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(132, 25); this.label1.Size = new System.Drawing.Size(108, 20);
this.label1.TabIndex = 27; this.label1.TabIndex = 27;
this.label1.Text = "Eingebaut am"; this.label1.Text = "Eingebaut am";
// //
@@ -273,7 +274,7 @@
// //
this.dt_eingebaut.Location = new System.Drawing.Point(562, 232); this.dt_eingebaut.Location = new System.Drawing.Point(562, 232);
this.dt_eingebaut.Name = "dt_eingebaut"; this.dt_eingebaut.Name = "dt_eingebaut";
this.dt_eingebaut.Size = new System.Drawing.Size(325, 30); this.dt_eingebaut.Size = new System.Drawing.Size(325, 26);
this.dt_eingebaut.TabIndex = 26; this.dt_eingebaut.TabIndex = 26;
// //
// cb_fertig // cb_fertig
@@ -283,7 +284,7 @@
this.cb_fertig.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cb_fertig.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cb_fertig.Location = new System.Drawing.Point(13, 323); this.cb_fertig.Location = new System.Drawing.Point(13, 323);
this.cb_fertig.Name = "cb_fertig"; this.cb_fertig.Name = "cb_fertig";
this.cb_fertig.Size = new System.Drawing.Size(122, 43); this.cb_fertig.Size = new System.Drawing.Size(100, 35);
this.cb_fertig.TabIndex = 25; this.cb_fertig.TabIndex = 25;
this.cb_fertig.Text = "Fertig"; this.cb_fertig.Text = "Fertig";
this.cb_fertig.UseVisualStyleBackColor = true; this.cb_fertig.UseVisualStyleBackColor = true;
@@ -299,7 +300,7 @@
"Schnee - Eisschmelze"}); "Schnee - Eisschmelze"});
this.cbb_wetter.Location = new System.Drawing.Point(564, 296); this.cbb_wetter.Location = new System.Drawing.Point(564, 296);
this.cbb_wetter.Name = "cbb_wetter"; this.cbb_wetter.Name = "cbb_wetter";
this.cbb_wetter.Size = new System.Drawing.Size(191, 33); this.cbb_wetter.Size = new System.Drawing.Size(191, 28);
this.cbb_wetter.TabIndex = 23; this.cbb_wetter.TabIndex = 23;
// //
// label24 // label24
@@ -308,7 +309,7 @@
this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label24.Location = new System.Drawing.Point(398, 300); this.label24.Location = new System.Drawing.Point(398, 300);
this.label24.Name = "label24"; this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(70, 25); this.label24.Size = new System.Drawing.Size(57, 20);
this.label24.TabIndex = 24; this.label24.TabIndex = 24;
this.label24.Text = "Wetter"; this.label24.Text = "Wetter";
// //
@@ -334,14 +335,14 @@
// //
this.txt_einbau_temp.Location = new System.Drawing.Point(229, 166); this.txt_einbau_temp.Location = new System.Drawing.Point(229, 166);
this.txt_einbau_temp.Name = "txt_einbau_temp"; this.txt_einbau_temp.Name = "txt_einbau_temp";
this.txt_einbau_temp.Size = new System.Drawing.Size(100, 30); this.txt_einbau_temp.Size = new System.Drawing.Size(100, 26);
this.txt_einbau_temp.TabIndex = 22; this.txt_einbau_temp.TabIndex = 22;
// //
// txt_lagerung_temp // txt_lagerung_temp
// //
this.txt_lagerung_temp.Location = new System.Drawing.Point(229, 123); this.txt_lagerung_temp.Location = new System.Drawing.Point(229, 123);
this.txt_lagerung_temp.Name = "txt_lagerung_temp"; this.txt_lagerung_temp.Name = "txt_lagerung_temp";
this.txt_lagerung_temp.Size = new System.Drawing.Size(100, 30); this.txt_lagerung_temp.Size = new System.Drawing.Size(100, 26);
this.txt_lagerung_temp.TabIndex = 21; this.txt_lagerung_temp.TabIndex = 21;
// //
// label4 // label4
@@ -349,7 +350,7 @@
this.label4.AutoSize = true; this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(15, 171); this.label4.Location = new System.Drawing.Point(15, 171);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(168, 25); this.label4.Size = new System.Drawing.Size(136, 20);
this.label4.TabIndex = 20; this.label4.TabIndex = 20;
this.label4.Text = "Liner beim Einbau"; this.label4.Text = "Liner beim Einbau";
// //
@@ -358,7 +359,7 @@
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(15, 123); this.label3.Location = new System.Drawing.Point(15, 123);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(131, 25); this.label3.Size = new System.Drawing.Size(106, 20);
this.label3.TabIndex = 19; this.label3.TabIndex = 19;
this.label3.Text = "Linerlagerung"; this.label3.Text = "Linerlagerung";
// //
@@ -376,14 +377,14 @@
// //
this.txt_temp_kanal.Location = new System.Drawing.Point(229, 75); this.txt_temp_kanal.Location = new System.Drawing.Point(229, 75);
this.txt_temp_kanal.Name = "txt_temp_kanal"; this.txt_temp_kanal.Name = "txt_temp_kanal";
this.txt_temp_kanal.Size = new System.Drawing.Size(100, 30); this.txt_temp_kanal.Size = new System.Drawing.Size(100, 26);
this.txt_temp_kanal.TabIndex = 18; this.txt_temp_kanal.TabIndex = 18;
// //
// txt_temp_aussen // txt_temp_aussen
// //
this.txt_temp_aussen.Location = new System.Drawing.Point(229, 32); this.txt_temp_aussen.Location = new System.Drawing.Point(229, 32);
this.txt_temp_aussen.Name = "txt_temp_aussen"; this.txt_temp_aussen.Name = "txt_temp_aussen";
this.txt_temp_aussen.Size = new System.Drawing.Size(100, 30); this.txt_temp_aussen.Size = new System.Drawing.Size(100, 26);
this.txt_temp_aussen.TabIndex = 17; this.txt_temp_aussen.TabIndex = 17;
// //
// label23 // label23
@@ -391,7 +392,7 @@
this.label23.AutoSize = true; this.label23.AutoSize = true;
this.label23.Location = new System.Drawing.Point(15, 80); this.label23.Location = new System.Drawing.Point(15, 80);
this.label23.Name = "label23"; this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(63, 25); this.label23.Size = new System.Drawing.Size(49, 20);
this.label23.TabIndex = 1; this.label23.TabIndex = 1;
this.label23.Text = "Kanal"; this.label23.Text = "Kanal";
// //
@@ -400,7 +401,7 @@
this.label22.AutoSize = true; this.label22.AutoSize = true;
this.label22.Location = new System.Drawing.Point(15, 34); this.label22.Location = new System.Drawing.Point(15, 34);
this.label22.Name = "label22"; this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(79, 25); this.label22.Size = new System.Drawing.Size(63, 20);
this.label22.TabIndex = 0; this.label22.TabIndex = 0;
this.label22.Text = "Aussen"; this.label22.Text = "Aussen";
// //
@@ -413,7 +414,7 @@
this.cb_stvo.Location = new System.Drawing.Point(8, 91); this.cb_stvo.Location = new System.Drawing.Point(8, 91);
this.cb_stvo.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.cb_stvo.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cb_stvo.Name = "cb_stvo"; this.cb_stvo.Name = "cb_stvo";
this.cb_stvo.Size = new System.Drawing.Size(323, 29); this.cb_stvo.Size = new System.Drawing.Size(263, 24);
this.cb_stvo.TabIndex = 16; this.cb_stvo.TabIndex = 16;
this.cb_stvo.Text = "Es wurde nach StVO abgesichert"; this.cb_stvo.Text = "Es wurde nach StVO abgesichert";
this.cb_stvo.UseVisualStyleBackColor = true; this.cb_stvo.UseVisualStyleBackColor = true;
@@ -427,7 +428,7 @@
this.cb_wasserhaltung.Location = new System.Drawing.Point(8, 57); this.cb_wasserhaltung.Location = new System.Drawing.Point(8, 57);
this.cb_wasserhaltung.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.cb_wasserhaltung.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cb_wasserhaltung.Name = "cb_wasserhaltung"; this.cb_wasserhaltung.Name = "cb_wasserhaltung";
this.cb_wasserhaltung.Size = new System.Drawing.Size(329, 29); this.cb_wasserhaltung.Size = new System.Drawing.Size(269, 24);
this.cb_wasserhaltung.TabIndex = 15; this.cb_wasserhaltung.TabIndex = 15;
this.cb_wasserhaltung.Text = "Wasserhaltung wurde eingerichtet"; this.cb_wasserhaltung.Text = "Wasserhaltung wurde eingerichtet";
this.cb_wasserhaltung.UseVisualStyleBackColor = true; this.cb_wasserhaltung.UseVisualStyleBackColor = true;
@@ -441,14 +442,14 @@
this.cb_genehmigung.Location = new System.Drawing.Point(8, 23); this.cb_genehmigung.Location = new System.Drawing.Point(8, 23);
this.cb_genehmigung.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.cb_genehmigung.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cb_genehmigung.Name = "cb_genehmigung"; this.cb_genehmigung.Name = "cb_genehmigung";
this.cb_genehmigung.Size = new System.Drawing.Size(299, 29); this.cb_genehmigung.Size = new System.Drawing.Size(245, 24);
this.cb_genehmigung.TabIndex = 14; this.cb_genehmigung.TabIndex = 14;
this.cb_genehmigung.Text = "Genehmigung wurde eingeholt"; this.cb_genehmigung.Text = "Genehmigung wurde eingeholt";
this.cb_genehmigung.UseVisualStyleBackColor = true; this.cb_genehmigung.UseVisualStyleBackColor = true;
// //
// UCInliner // UCInliner
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F); this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.tabControl1); this.Controls.Add(this.tabControl1);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

View File

@@ -396,5 +396,13 @@ namespace SanSystem
generateDichtheitsprüfung.Start(); generateDichtheitsprüfung.Start();
} }
private void txt_besatzung_Enter(object sender, EventArgs e)
{
if (txt_besatzung.Text.Equals(string.Empty) && Global.Instance.AktuelleBesatzung != string.Empty)
{
txt_besatzung.Text = Global.Instance.AktuelleBesatzung;
}
}
} }
} }

View File

@@ -81,6 +81,10 @@ namespace SanSystem
frmLinerReste.Show(); frmLinerReste.Show();
#if !DEBUG
FrmAktuelleBesatzung frmAktuelleBesatzung = new FrmAktuelleBesatzung();
frmAktuelleBesatzung.ShowDialog();
#endif
// Insgesammt eingebaut // Insgesammt eingebaut
double gesamt = 0.0; double gesamt = 0.0;

View File

@@ -105,7 +105,7 @@ namespace SanSystem
counter++; counter++;
} }
} }
return new Tuple<int, int>(objekte.Count(), counter); return new Tuple<int, int>(counter,objekte.Count());
} }
private void buildUnsortedStreetList() private void buildUnsortedStreetList()