Import Befahrungsdaten Fix
Wenn das Projekt noch nicht Initialisiert ist wird ein Textbox ausgegben
This commit is contained in:
@@ -184,6 +184,11 @@ namespace SanSystem
|
||||
{
|
||||
OpenFileDialog openFileDialog = new OpenFileDialog();
|
||||
openFileDialog.Filter = "XML Daten | *.xml";
|
||||
if(Datenbank.Instance.loadedProjekt == null)
|
||||
{
|
||||
MessageBox.Show("Diese Projekt ist nicht Initialisiert");
|
||||
return;
|
||||
}
|
||||
if (openFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
string path = openFileDialog.FileName;
|
||||
|
||||
Reference in New Issue
Block a user