• Figure 5 shows the resource file structure.

    图5显示了资源文件结构。

    youdao

  • script executes all commands specified in a resource file.

    script 会执行源文件中的所有命令。

    youdao

  • You wouldn't want the image binaries to reside in every resource file!

    您不会希望图像的二进制文件存储在每一个资源文件中!

    youdao

  • You could use any binary editor or Nokia JSR-238 RI to create the resource file.

    可以使用任何一种二进制文件编辑器或者NokiaJSR- 238RI创建资源文件。

    youdao

  • Figure 3 shows a skimmed-down example of the XML data found inside a resource file.

    图3展示了在一个资源文件中XML数据的一个缩减样本的示例。

    youdao

  • To retrieve the string and image from the resource file, you need to do the following.

    为了从资源文件检索字符串和图片,您需要执行下列步骤。

    youdao

  • The binary resource file has a strict format to follow (refer to the JSR-238 specification).

    二进制的资源文件必须遵守严格的格式。 (参考JSR-238规范)。

    youdao

  • They install a customized theme that USES this resource file to define the colors and the fonts.

    这几行代码建立了一个定制的主题,该主题的颜色和字体是以外部文件定义的。

    youdao

  • We'll be using a resource bundle, so let's create the resource file first by doing the following.

    我们后面将要使用一个资源包,所以我们先依照下面的步骤来创建一个资源包。

    youdao

  • They first read in the resource file the name and size of the font to be used (lines 64 through 70).

    这些代码首先从资源文件中读出要使用的字体的名称和大小(第64行到第70行)。

    youdao

  • Lines 9 through 16 load the external resource file that defines the properties of the look and feel.

    第9行到第16行是装载定义了该lookand feel的一些属性的外部资源文件。

    youdao

  • To do this you need to create a separate resource file for each spoken language that you need to support.

    为此,您需要为要支持的每种语言创建单独的资源文件。

    youdao

  • As you can see, accessing strings from a resource file using a strongly typed resource class is pretty easy.

    正如您看到的,使用强类型资源类访问资源文件中的字符串比较简单。

    youdao

  • For demonstration purposes, I have used Nokia JSR-238 RI to generate the binary resource file, as Figure 6 shows.

    为演示起见,我使用NokiaJSR- 238RI来创建二进制资源文件,如图6所示。

    youdao

  • You can create a new resource file using the Add new Item command and choosing Resources file, as shown in Figure 4.

    通过使用AddNewItem命令并选择ResourcesFile,您可以新建一个资源文件,如图4所示。

    youdao

  • While the XML fragment in the figure isn't a complete resource file, it gives you a general idea of what's inside one.

    尽管图中的XML片段不是完整的资源文件,但可以使您大致了解其内部内容。

    youdao

  • It first tries to find the key in the panel resource file, then the page resource file and finally the application resource file.

    它首先尝试在面板资源文件中查找关键字,然后是页面资源文件,最后才是应用资源文件。

    youdao

  • To begin localization, you make multiple copies of resource files-one copy of each resource file for each language you want to support.

    要开始本地化,需要制作多个资源文件的副本 -对于要支持的每种语言,每个资源文件一个副本。

    youdao

  • Then they overwrite the getter methods of DefaultMetalTheme so that the font and colors defined in the external resource file are used.

    然后重写DefaultMetalTheme的getter方法,以便使用在外部资源文件中定义的颜色和字体。

    youdao

  • Lines 22 through 53 modify the UIDefaults of the look and feel to magnify the standard ICONS by a factor defined in the external resource file.

    第22行到第53行修改了该lookandfeel的UIDefaults,以便通过在外部资源文件中定义的一个缩放比例来放大标准图标。

    youdao

  • When you change some values of the resource file, and then restart Rational Functional Tester, you can see changed values in the test object map.

    当您更改资源文件的一些值时,然后重启RationalFunctionalTester,在测试对象图中您可以看到更改的值。

    youdao

  • Open the test object map, and then change the property values that are GUI display values to key names of the resource file, as shown in Figure 14.

    打开测试对象图,然后将作为GUI显示值的属性值更改为资源文件的密钥名字,如图14所示。

    youdao

  • When a resource file is included in the definition file, the file path to the included file should be relative to the location of the definition file.

    当定义文件包含一个资源文件时,资源文件的文件路径必须相对于定义文件的位置。

    youdao

  • That means that all the details involved in compiling the resource file and embedding it into the image of the target assembly are handled for you by Visual Studio.

    这意味着,Visual Studio将为您处理编译资源文件以及将该文件嵌入目标程序集的图像所涉及的所有细节。

    youdao

  • Lines 18 through 20 overwrite standard methods of MetalLookAndFeel so that the name, description, and ID of the look and feel is also externalized in the resource file.

    第18行到第20行重写了MetalLookAndFeel的一些标准方法,以便将该lookandfeel的名称、描述和ID也放在外部资源文件中定义。

    youdao

  • Once you have copied a resource file such as Resources.resx, rename the copied resource file by adding the culture name just before the .resx extension, as shown in Figure 6 .

    一旦复制了资源文件(如Resources.resx),就可以通过在 .resx扩展名前面添加区域名称来重命名所复制的资源文件,如图 6 所示。

    youdao

  • As you add property values into the property sheet for the form and its controls, Visual Studio maintains them in a resource file behind the scenes that is compiled into the neutral assembly.

    如果您将属性值添加到窗体及其控件的属性表,则VisualStudio会在幕后于一个已编译为非特定程序集的资源文件中维护它们。

    youdao

  • As you add property values into the property sheet for the form and its controls, Visual Studio maintains them in a resource file behind the scenes that is compiled into the neutral assembly.

    如果您将属性值添加到窗体及其控件的属性表,则VisualStudio会在幕后于一个已编译为非特定程序集的资源文件中维护它们。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定