English 中文(简体)
为什么在2010年演播室视力学模式中添加部件?
原标题:Why can t components be added in localization mode in Visual Studio 2010?

我刚刚开始设立一个Windows Service;出于好奇,选择英语(美国)为服务语言,尽管当地化不是手头要求的一部分。

然后,当我试图将一个时间组成部分拖入服务设计区时,我收到以下信息:

"Components cannot be added in localization mode. Select (Default) in the Language Property to return to the default form and add components."

我的问题是,地方化与组成部分有什么关系?

I m using VS2010/C#/.Net 4 with all latest service packs. Thank you for any answers.

最佳回答

Change Localization property back to Default and than add Timer component. The Localization property makes Designer generate resource files for languages you pick. These resource files contains texts, control positions, etc, so you can have different values for each language.

如果地方化不是要求,那么最好不要这样做。 当地化可以给你带来额外工作和混乱。

问题回答

改变地方化模式,使之陷入违约:

Right side of main visual studio window there is a panel called "Properties". If you do not have that, right click to form that you created(or you have one as default) and you ll see Properties bottom of that little window. Once you clicked "Properties" will appear on right side. There are few tabs in it. And for clear see close those tabs one by one from top. Like "Accessibility", "Appearance" ex. You should see a "Design" tab. Under that there is a label "Language" one click on across it (I had Afar) and choose "Default".





相关问题
windows service : configuration UI implementation options

I have a simple windows service, that might need to be configured on-the-fly (a COM port to listen to). I have done the UI as a console app that connects to the windows service through WCF, it works ...

Installing a Windows Service as a user

I m currently in the process of creating a Windows service application which will monitor changes to certain keys made in the HKEY_USERS registry. The way I do this is by collecting the SID of the ...

Writing application for both Unix and Windows

I ll write a program for Interactive UNIX (http://en.wikipedia.org/wiki/INTERACTIVE_UNIX). But in a year it will be ported to Windows. I ll write it in ANSI C and/or SH-script. When it runs on Windows ...

Windows service runs file locally but not on server

I created a simple Windows service in dot net which runs a file. When I run the service locally I see the file running in the task manager just fine. However, when I run the service on the server it ...

热门标签