Context menu on explorer using wpf
<p>I had created an application that doing some stuffs with image using wpf.</p>

<p>I want to integrate this application with windows explorer context menu.</p>

<p>So that when user select image files in explorer (suppo se desktop) and click on the created menu it open with my program.</p>

<p>I had achieved this by adding a registry value like
MyprogramName %1</p>

<p>Where %1 is pointing to the selected file path.
This works fine but 
When user selects multiple image then my program also open multiple times and process the image.</p>

<p>I want to create a menu and its submenu (with icon)  in such a way that multiple files will pass to my program all at once. Like winrar is doing such things</p>

<p>Kindly help.</p>

<p>Regards
Amit</p>