首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > scrolling-hex-map-demo

scrolling-hex-map-demo

  • 资源大小:90.21 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Scrolling Hex Map Demo This is an example of the various techniques and concepts that I used to build a (very simple) wargame-type hex map, using C# and WPF. Some of the concepts include DrawingVisuals (which are a WPF lightweight graphical element) built from a Bitmap Static Resource, creating a custom UserControl (which uses a custom Value Converter), scrolling the map with the mouse, and turning a WPF application into an XBAP, which can be run directly in a browser. Intended as an exercise in learning WPF, I thought it might be worth posting the code, as an example of pulling together a number of WPF concepts into a complete (although simple) working program.

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP