المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : load image with open file?



C# Programming
11-03-2009, 04:12 PM
created a program which has a "Load Picture" button, and a Picture Box .Whenever I click a "Load Picture" button, it will show a Open File Dialog then selected file will load to a picture box.

My question is How I can make the picture loads to my Picture Box when User right click on a image file ---> Open With --> browse for my program.

Like Photoshop, you know, when you rigt click a image file ---> Open With ---> Photoshop --> then Photoshop will open with that image file.

Thanks !