نمایش عکس داخل PictureBox در برنامه Windows Photo Viewer
if (pictureBox
1
.Tag != null)
{
System.Diagnostics.Process imageViewerProcess = new System.Diagnostics.Process();
imageViewerProcess.StartInfo.CreateNoWindow = false;
imageViewerProcess.StartInfo.FileName =
"rundll32.exe"
;
imageViewerProcess.StartInfo.Arguments =
@
"C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen "
+ pictureBox
1
.Tag.ToString();
imageViewerProcess.Start();
}
+ نوشته شده در شنبه بیست و پنجم شهریور ۱۳۹۶ ساعت 14:37 توسط محسن
|