关于C#.resx资源文件的问题 [英] question about C# .resx resource file

查看:153
本文介绍了关于C#.resx资源文件的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用表达式混合4和Visual Studio 2010 for WPF应用程序

using expression blend 4 and visual studio 2010 for WPF application

如何在按钮点击事件处理程序上获取和显示resx文件的内容?

使用名称?



EG

How do i get and display content of resx file on button click event handler?
using name?

E.G

资源文件

名称:测试值:测试

 

在表达式混合方面,我有一个名称为的标签:testing

on expression blend side, i have a label with name :testing

 

如何在按钮点击时显示标签上的值?

how do i make it that it shows the value on the label on button click?

推荐答案

Howdy,

Howdy,

您的问题与编码有关,然后它会使用Expression Blend工具,所以我将指向C#.Net论坛,以获得详细的响应:

Your question relates more to coding then it does the Expression Blend tool so I am going to point you to the C#.Net forums for a detailed response here:

http://social.msdn.microsoft.com/Forums/ en / category / netdevelopment

您还可以查看有关使用ResX文件的此代码项目文章:

You could also have a look at this codeproject article on using ResX files:

http://www.codeproject.com/KB/WPF/WPF_Resx_Localization.aspx

 

HTH

 

干杯


这篇关于关于C#.resx资源文件的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆