Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- method App.OnStartup(e: StartupEventArgs);
- var
- _ok : Boolean;
- begin
- MyMutex := new Mutex(true,'MAA_QB_BILL_SCAN', out _ok);
- if _ok then
- begin
- AppDomain.CurrentDomain.UnhandledException += UnhandledException;
- ThemeManager.ApplicationThemeName := Theme.Office2016ColorfulName;
- inherited;
- end
- else
- Application.Current.Shutdown;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement