تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
لفتح ملف exe من خلال مشروعك C#
#1
كاتب الموضوع : AhmedEssawy


كود :
[align=left][color=blue][FONT=Courier New]using[/FONT][/color][FONT=Courier New] System.Diagnostics;[/FONT]


[FONT=Courier New][color=blue]private[/color] [color=blue]void[/color] btnStartProcess_Click([color=blue]object[/color] sender, System.[color=teal]EventArgs[/color] e) [/FONT]
[FONT=Courier New]{[/FONT]
[FONT=Courier New][color=green]// Simple Demonstration of starting a process using the process class.[/color][/FONT]

[FONT=Courier New][color=teal]Process[/color].Start([color=maroon]"notepad.exe"[/color]);[/FONT]

[FONT=Courier New]}[/FONT][/align]
}}}
تم الشكر بواسطة:



التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم