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

@@ -60,7 +60,9 @@ namespace SanSystem
{
using (OpenFileDialog openFileDialog = new OpenFileDialog())
{
if(openFileDialog.ShowDialog() == DialogResult.OK)
if (txt_schachtnummer.Text == "")
openFileDialog.InitialDirectory = @"C:\K2000w\BILDER";
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
string source = openFileDialog.FileName;
SavedBilder bilder = new SavedBilder();
@@ -69,7 +71,6 @@ namespace SanSystem
try
{
if (pt_box == null) throw new Exception();
string speicherpfad = Path.Combine(mydestination, targetname);
File.Copy(source, speicherpfad);