diff --git a/SanSystem/SanSystem.csproj b/SanSystem/SanSystem.csproj index 0494ab0..8774b9d 100644 --- a/SanSystem/SanSystem.csproj +++ b/SanSystem/SanSystem.csproj @@ -240,6 +240,12 @@ frmMain.cs + + Form + + + frmInfo.cs + @@ -329,6 +335,9 @@ frmMain.cs + + frmInfo.cs + PublicResXFileCodeGenerator Resources.Designer.cs diff --git a/SanSystem/frmInfo.Designer.cs b/SanSystem/frmInfo.Designer.cs new file mode 100644 index 0000000..f22c7f3 --- /dev/null +++ b/SanSystem/frmInfo.Designer.cs @@ -0,0 +1,65 @@ + +namespace SanSystem +{ + partial class frmInfo + { + /// + /// 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.lst_info = new System.Windows.Forms.ListBox(); + this.SuspendLayout(); + // + // lst_info + // + this.lst_info.FormattingEnabled = true; + this.lst_info.ItemHeight = 20; + this.lst_info.Location = new System.Drawing.Point(12, 12); + this.lst_info.Name = "lst_info"; + this.lst_info.Size = new System.Drawing.Size(471, 404); + this.lst_info.TabIndex = 0; + // + // frmInfo + // + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(507, 448); + this.ControlBox = false; + this.Controls.Add(this.lst_info); + this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.Name = "frmInfo"; + this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; + this.Text = "Frm_Info"; + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ListBox lst_info; + } +} \ No newline at end of file diff --git a/SanSystem/frmInfo.cs b/SanSystem/frmInfo.cs new file mode 100644 index 0000000..f8af9df --- /dev/null +++ b/SanSystem/frmInfo.cs @@ -0,0 +1,25 @@ +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 frmInfo : Form + { + public frmInfo() + { + InitializeComponent(); + lst_info.Items.Add("Werte beziehen sich auf DN150"); + lst_info.Items.Add("3D Liner => ca 7% Schrumpf"); + lst_info.Items.Add("DN125 Liner => ca 3% Schrumpf"); + lst_info.Items.Add("Nach insgesamt 232 eingebaute Liner, lernt man noch was,"); + lst_info.Items.Add("was man noch nie erlebt hat"); + } + } +} diff --git a/SanSystem/frmInfo.resx b/SanSystem/frmInfo.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/SanSystem/frmInfo.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/frmMain.cs b/SanSystem/frmMain.cs index 2767471..91b725d 100644 --- a/SanSystem/frmMain.cs +++ b/SanSystem/frmMain.cs @@ -75,16 +75,19 @@ namespace SanSystem FrmLinerReste frmLinerReste = new FrmLinerReste(); frmLinerReste.MdiParent = this; - Point start = new Point(this.Width - frmLinerReste.Width - 22, 0); - frmLinerReste.Location = start; - - + frmLinerReste.Location = new Point(this.Width - frmLinerReste.Width - 05, 0); + + frmLinerReste.Show(); -#if !DEBUG + frmInfo frmInfo = new frmInfo(); + frmInfo.MdiParent = this; + frmInfo.Location = new Point(this.Width - frmInfo.Width - 05, this.Height - frmInfo.Height-80); + + frmInfo.Show(); + FrmAktuelleBesatzung frmAktuelleBesatzung = new FrmAktuelleBesatzung(); frmAktuelleBesatzung.ShowDialog(); -#endif // Insgesammt eingebaut double gesamt = 0.0;