I am familiar with WPF application but completely new to Winforms.
The objective is to create a single instance Winforms application. If another instance instantiated, it should notify the main instance with corresponding command args that will invoke action on main instance. Here is the sample that will work on WPF.
I have achieved the same in WPF using the MSDN helper. But when I try to make use of the same in Winforms, I could not resolve the following things.
Application
instance missing in Winforms.Application.Current
is missing that will be used to invoke the main instance.
Is there any equivalent in winforms, or any other way to achieve the similar functionality in Winforms.