IMPORTANT: Format of all files with Resharper
NO functional changes. If you have problems merging your changes, merge/rebase on previous commit then merge this. Conflicts can easily be resolved (take yours if in doubt) After that merge next commits
This commit is contained in:
1 parent
3a110804d8
commit
149026ec32
57 files changed
+1242
-1099
No files matched your search
+2
-2
@@ -326,9 +326,9 @@ namespace Vocaluxe
|
||||
Process currentProcess = Process.GetCurrentProcess();
|
||||
Process[] processes = Process.GetProcessesByName(currentProcess.ProcessName);
|
||||
|
||||
foreach (var process in processes.Where(t => t.Id != currentProcess.Id))
|
||||
foreach (Process process in processes.Where(t => t.Id != currentProcess.Id))
|
||||
{
|
||||
var wnd = process.MainWindowHandle;
|
||||
IntPtr wnd = process.MainWindowHandle;
|
||||
if (wnd != IntPtr.Zero)
|
||||
SetForegroundWindow(wnd);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user