Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Visual Studio 2022

Application: WPF (.NET Framework 4.7.2)

This is an example code of making a WPF appliaction behave like single instance.

If user run exe once or run full trust from uwp application (e.g. desktop bridge scenario) once

existing running exe will always work for multiple exe running or full trust launch.

  • Here wpf will have a system tray.
  • Quick Panel window will be shown in the bottom right corner of the window just above the tray icon.
  • User can click tray icon to show/hide quick panel view just above the tray icon.
  • Maintaining a Single Instance wpf exe.
  • Quick Panel window will not have any title bar.
  • Though window will not shown in taskbar existing window will be shown after clicking tray icon.

Test Method

  • Build and Run the Application
  • Click tray icon and Hide your window
  • From bin folder run the exe again, existing window will be shown again.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages