Büroexporter geschrieben
Bug behoben, falls der Ordner von K2000 nicht excistiert
This commit is contained in:
@@ -362,5 +362,21 @@ namespace SanSystem
|
||||
FrmPrefixSuffix frmPrefixSuffix = new FrmPrefixSuffix();
|
||||
frmPrefixSuffix.ShowDialog();
|
||||
}
|
||||
|
||||
private void exportFürBüroErstellenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (FolderBrowserDialog fdb = new FolderBrowserDialog())
|
||||
{
|
||||
if(fdb.ShowDialog() == DialogResult.OK && !string.IsNullOrEmpty(fdb.SelectedPath))
|
||||
{
|
||||
OnExportedExecuted(fdb.SelectedPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private async void OnExportedExecuted(string destinationPath)
|
||||
{
|
||||
await BüroExporter.ExportAsync(Datenbank.Instance.loadedProjekt,destinationPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user