Skip to content

What is the equivalent of StartupNextInstanceEventArgs in application events in WPF? And how can it be assigned in WPF? #7517

Answered by miloush
VahidEra asked this question in Q&A
Discussion options

You must be logged in to vote

There is a general .NET way, see https://learn.microsoft.com/en-us/dotnet/api/system.environment.getcommandlineargs?view=net-7.0

Otherwise in WPF this is in Application.OnStartup / Application.Startup

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VahidEra
Comment options

Answer selected by VahidEra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants