문제

I want to bring a running process to front on a button click event.

On button click I am able to run application using below code:

dynamic shell = AutomationFactory.CreateObject("WScript.Shell");
shell.Run("cmd.exe", 1, true);

But is there any way by which I can bring already running cmd(any applicaion) to foreground in Silverlight 5. I am using silverlight out of browser.

도움이 되었습니까?

해결책

I think you are looking for Bring window to front as discussed here Bring another processes Window to foreground when it has ShowInTaskbar = false

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top