Windows Controls and WPF UserControls Inside an Xna Game Project

In this article we will be working on using Windows Controls and WPF UserControls inside an XNA Game Project.

They tell Windows Controls cant be used inside an XNA game let alone WPF. Well, that has been proved in this article.

Components:

#### Windows Controls we’ll be using ####

  • Button
  • TextBox
  • CheckBox
  • ElementHost

Tools

XNA GS 3.1 veya Visual Studio 2008(SP1) .NET Framework 3.5(SP1)

We are creating a new project:

继续阅读

原文地址:https://www.cnblogs.com/xiebaochun/p/3329626.html