It is not possible to change the color of a window individually but you can change the color OS-wide via the resgistry. The entry should be something like this: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Glass Colorization\Swatches
in conjunction with HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM - ColorizationColor
From within your code you can only adjust the shape and the size of your Glass border but I don't think the color. In Windows Forms it is done like this and in WPF like this.
This isn't possible with C#/.NET. WPF/WindowsForms only allow you to change the borders on elements inside the application. Application borders are user-controlled.
Хотя Битбонк и Джордж правильно указали, что окна не могут изменять цвета границ для отдельных окон, вы можете посмотреть на рисование окна владельцем. Тогда вы сможете достичь того, что вам нужно, однако окно, скорее всего, больше не будет выглядеть как «родное» окно.
См. этот вопрос на SO.