質問

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