WPF Single Instance Application - Arik Poznanski's Blog

added by arikp
5/27/2010 5:19:45 PM

1 Kicks, 72 Views

WPF Single Instance ApplicationThe Problem The question this post solves is how to enforce that your WPF application has only one instance?Solution Source The solution is based on code found in some WPF reference applications which Microsoft will soon (?) release. I didn’t wrote it, but I used it several times and it’s the best solution I’ve found to date, so I'd hate to see it unpublished.Solution Advantages So, what are the advantages of this solution? after all, it’s not the first time someone post...


0 comments