AppStarter hinzugefügt

This commit is contained in:
Kilian Wirl 2026-02-25 08:37:56 +01:00
parent 9b2d3e2689
commit efd3758c4f
3 changed files with 4 additions and 3 deletions

View File

@ -19,8 +19,8 @@ namespace Deckungsbeitrag
base.Commit(savedState); base.Commit(savedState);
string appPath = Path.Combine( string appPath = Path.Combine(
Context.Parameters["TARGETDIR"], @"C:\Program Files (x86)\Kilian Wirl GmbH\Verwaltung",
"Wirl-Verwaltung.exe"); // Deine Haupt-App "Deckungsbeitrag.exe"); // Deine Haupt-App
if (File.Exists(appPath)) if (File.Exists(appPath))
{ {

View File

@ -45,6 +45,7 @@ namespace Deckungsbeitrag
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
Screen[] screens = Screen.AllScreens; Screen[] screens = Screen.AllScreens;
timer = new System.Timers.Timer();
timer.Interval = 1000; timer.Interval = 1000;
timer.Elapsed += Timer_Elapsed; timer.Elapsed += Timer_Elapsed;
timer.Start(); timer.Start();

View File

@ -99,5 +99,5 @@ Build-Info:
- 🔄 Wenn kunde null dann return. [FormNeuerAuftrag.cs] - 🔄 Wenn kunde null dann return. [FormNeuerAuftrag.cs]
- 🔄 Wenn Nachwäsche oder Müllwäsche alle Artikel anzeigen. [FormFehlmengeCount.cs] - 🔄 Wenn Nachwäsche oder Müllwäsche alle Artikel anzeigen. [FormFehlmengeCount.cs]
Installation: 25.02.2026 08:33 Installation: 25.02.2026 08:36
===================================== =====================================