If you have added your images to a folder named Data
in the root of your project using the Add Existing Item command in Visual Studio, then you can reference your images using a simple format:
/ApplicationName;component/FolderName/ImageName.type
In your case, it would be like this (where you replace ApplicationName
with the actual name of your application):
<Window Background="{StaticResource MyImageBrush}"> ...
<Window.Resources>
<ImageBrush x:Key="MyImageBrush" ImageSource="/ApplicationName;component/Data/
locale/ro-RO/skin/Login/login.jpg" />
</Window.Resources>
If you didn't add your images like I mentioned above, then just make sure that their Build Action
is set to Resource
in their property windows in Visual Studio.