gesamtlänge wird erfasst
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user