string n. 1.線,帶,繩子;〔美國〕鞋帶〔又作 shoe-string, 〔英國〕稱 shoe-lace〕。 (穿線、數(shù)珠等的)串線,串繩;穿在線上的東西,一串東西;一連串,一系列。 2.一串;一行,一排,一列。 3.〔集合詞〕(訓(xùn)練中的)(常屬于一個馬主的)一群賽跑的馬,牛群,馬隊;一群。 4.(弓)弦;(樂器的)弦;〔the strings〕 弦樂器(演奏者)。 5.纖維;卷須;(豆莢殼等的)筋,腱。 6.【臺球】得分?jǐn)?shù);計分器。 7.〔pl. 〕 〔美口〕(附帶)條件,限制。 8.〔美俚〕謊話。 9.【建筑】束帶層;短梯基。 a piece of string 一根繩子,一條帶子。 shoe string 鞋帶。 a string of questions 一連串問題[質(zhì)問]。 a string of buses 一長列公共汽車。 a string of houses 一排房屋。 a second string to one's bow 另一種手段,第二套辦法。 by the string rather than the bow 〔口語〕直接了當(dāng)?shù)亍?harp on one [the same] string 反復(fù)講同一事件。 have sb. on a string 任意操縱某人。 have two strings to one's bow 備有兩手,備有兩套辦法。 in a long string 排成一長串。 no strings 〔美運(yùn)〕時間沒有限制。 no strings attached 沒有附帶條件。 on the string 〔美國〕有希望。 pull every string 竭力,拼命。 pull the strings 在背后拉線,在幕后操縱。 string tied to it (個中)條件,緣故。 the first [second] string 第一[第二]靠得住的人[物];第一[第二]個辦法。 touch a string 〔比喻〕觸動心弦。 touch the strings 奏弦樂。 vt. (strung ) 1.用繩、線、帶子(等)捆、扎、掛。 2.〔常用 p.p. 〕使緊張,使作好準(zhǔn)備;使興奮。 3.把…用線串起來。 4.使(弓)上弦;調(diào)(樂器)弦,抽(豆莢等的)筋。 5.使成一串排列起來,使排成一列 (up out)。 6.拉直,使伸展,擴(kuò)張,延長;〔口語〕引伸。 7.〔美俚〕欺騙,愚弄,戲弄。 vi. 1.(人等)排成一串,蜿蜒排列;成線狀;列成一行前進(jìn)。 2.〔美俚〕欺騙,撒謊,戲弄。 string out scouts along the road 沿路布置警戒。 string beans 掐去菜豆的筋。 He is highly strung for the game. 他對比賽非常緊張。 I'm strung up to do the job. 我已經(jīng)準(zhǔn)備好可以干這件工作了。 string along with 〔美俚〕陪伴,信任(某人);同意(某事)。 string sb. along 〔美俚〕騙人,使人等待,吊人胃口。 string oneself up 興奮緊張;打起精神來想做…。 string out (使)節(jié)目拖長;行列長達(dá);(日期)延長到 (The program was strung out too long. 節(jié)目拖得太長。 ) string together (把事實)連貫起來。 string up 〔口語〕勒死,吊,掛起。
resource n. 1.〔pl.〕資源;物力,財力。 2.方法,手段;機(jī)智,智謀,才略。 3.消遣,娛樂。 natural resources 自然資源。 hidden resources 地下資源。 Flight was his only resource. 他只有逃走一法。 Reading is a great resource in illness. 讀書是病中極好消遣。 He is lost without resource. 他徹底完蛋[失敗]了。 a man of no resources 無資力的人;毫無辦法的人;閑極無聊的人。 at the end of one's resources 山窮水盡;無計可施。 be full of resource(s) 富有機(jī)智。 be thrown on one's own resources 除獨(dú)自努力外別無他法。 adj. -ful ,-fully adv.
For example , you can easily regionalize menu strings by using the appropriate string resource 例如,通過使用適當(dāng)?shù)淖址Y源,可以很容易地本地化菜單字符串。
For international applications , retrieve the relative path portion from a string resource in your application by using the 類從應(yīng)用程序的字符串資源中檢索相對路徑。
Moving display strings into string resources makes an application easier to localize without rewriting the program 你有沒有把你要的字符串資源加入到程序中?看看幫助
If the prefix is an empty string , then string resource names will be used verbatim as help keywords 如果前綴是空字符串,則字符串資源名稱將按原義用作“幫助”關(guān)鍵字。
An application commonly uses the same string resource for multiple purposes , such as a menu item and a tooltip 應(yīng)用程序通常將同一個字符串用于多種用途,如菜單項和工具提示。
If the prefix is set to an empty string , then string resource names will be used verbatim as help keywords 如果前綴設(shè)置為空字符串,則字符串資源名稱將按原義用作“幫助”關(guān)鍵字。
String resources are always embedded and cannot be changed ; file resources are always linked and cannot be changed 字符串資源總是嵌入的資源,無法更改;文件資源總是鏈接的資源,也無法更改。
String resources are useful if you are writing an application that must have strings translated into several languages 如果需要將所編寫的應(yīng)用程序中的字符串翻譯成多種語言,則字符串資源很有用。
You can then set the url of a control using a resource expression that specifies a string resource to the appropriate path 然后可以將使用資源表達(dá)式(它指定字符串資源)的控件的url設(shè)置為適當(dāng)?shù)穆窂健?
Classes to register their resources , as well as provide a prefix for composing help keywords from string resource names 類注冊它們的資源,同時提供一個前綴,用于通過字符串資源名稱組成“幫助”關(guān)鍵字。