ExceptionWindow erstellt
This commit is contained in:
@@ -37,9 +37,9 @@ namespace SanSystem
|
||||
{
|
||||
Datenbank.Instance.LoadProjekt(Global.Instance.ProjektNummer, Global.Instance.Projektpfad);// Path.Combine(Global.Instance.Projektpfad,"18-850.xaml"));
|
||||
}
|
||||
catch(DataBaseVersionMismatchException)
|
||||
catch(DataBaseVersionMismatchException ex)
|
||||
{
|
||||
MessageBox.Show("Database version mistmatch\nProgramm wird beendet");
|
||||
MessageBox.Show("Software und Datenbank passen nicht zusammen\nProgramm wird beendet\n"+ex.Message);
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
@@ -56,12 +56,15 @@ namespace SanSystem
|
||||
|
||||
toolStripStatus_projekt_Label.Text = Datenbank.Instance.projekt;
|
||||
this.Text += " " + Global.Instance.PROGRAMMVERSION;
|
||||
|
||||
#if (DEBUG || LAPTOP)
|
||||
this.Text += " INTERNE DEBUG VERSION";
|
||||
#endif
|
||||
if (Wupi.QueryInfo(0, QueryInfoOption.FirmCode) == 0)
|
||||
this.Text += " nicht geschützter Version nur für TESTZWECKE!";
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user