I have a windows-form which runs without any problem and displayed well. But if I run an instance of this windows-form from an XNA project my standard buttons are displayed as flat versions. How can I fix it ?


I have a windows-form which runs without any problem and displayed well. But if I run an instance of this windows-form from an XNA project my standard buttons are displayed as flat versions. How can I fix it ?


 
    
     
    
    You need to add manifest file to.your.project. Check this question for info how to do it: WPF MessageBox window style
 
    
    