gesamtlänge wird erfasst

This commit is contained in:
HuskyTeufel
2020-06-25 16:24:05 +02:00
parent de5af70dd0
commit d9431ef400
26 changed files with 792 additions and 107 deletions

View File

@@ -32,8 +32,7 @@ namespace SanSystem
{
InitializeComponent();
//Global.Instance.
if (!Directory.Exists(Global.Instance.Projektpfad)) Directory.CreateDirectory(Global.Instance.Projektpfad);
try
{
@@ -45,6 +44,8 @@ namespace SanSystem
frmException.FormClosed += FrmException_FormClosed;
frmException.ShowDialog();
}
//Datenbank.Instance.CreateProjekt("");
this.Width = Screen.PrimaryScreen.WorkingArea.Width;
@@ -66,9 +67,16 @@ namespace SanSystem
if (Wupi.QueryInfo(0, QueryInfoOption.FirmCode) == 0)
this.Text += " nicht geschützter Version nur für TESTZWECKE!";
FrmLinerReste frmLinerReste = new FrmLinerReste();
frmLinerReste.MdiParent = this;
Point start = new Point(this.Width - frmLinerReste.Width-40, 10);
frmLinerReste.Location = start;
//frmLinerReste.IsMdiChild = true;
frmLinerReste.Show();
}
private void FrmException_FormClosed(object sender, FormClosedEventArgs e)
@@ -127,6 +135,14 @@ namespace SanSystem
strassenList.Location = new Point(0, 0);
strassenList.StartPosition = FormStartPosition.Manual;
strassenList.Show();
FrmLinerReste frmLinerReste = new FrmLinerReste();
frmLinerReste.MdiParent = this;
Point start = new Point(this.Width - frmLinerReste.Width - 40, 10);
frmLinerReste.Location = start;
//frmLinerReste.IsMdiChild = true;
frmLinerReste.Show();
}
private void speichernToolStripMenuItem_Click(object sender, EventArgs e)
@@ -242,5 +258,11 @@ namespace SanSystem
//options.ShowDialog();
MessageBox.Show("Fertig");
}
private void VerbrauchToolStripMenuItem_Click(object sender, EventArgs e)
{
FrmGetDataFromBluelight frmGetDataFromBluelight = new FrmGetDataFromBluelight();
frmGetDataFromBluelight.ShowDialog();
}
}
}