// the classfunction cal(){ this.add = function (x, y) { return x + y; }}// the object to applyvar ins_tmp = new cal(); // the functionfunction b(){ // notice: without the apply method, what is 'this' below?
I believe I can flyR.KellyI used to think that I could not go onAnd life was nothing but an awful songBut now I know the meaning of true loveI'm leaning on the everlasting armsIf I can see it, then I can do itIf I just believe it, there's nothing to
最近比較閑:唉,今天是第4天了也不知道真的是沒有什麼活做,還是任務分配上的問題,現在給我分任務地,跟我以前做專案經理時一樣,就是低著頭幹就完了,想跟部門經理說吧,又怕對他不好。也好自己有點時間,搞搞亂78糟的,昨天看了看ASP NET FORUM,感覺很舒服,記得以前看過using (){}這樣的,但是不是很在意,昨天看過了代碼,感慨頗多。FxCop也是一個好東西,協助尋找缺陷,只是腦袋太小,記不下這麼多東西。
1.當我們開始某一項工作時,我們需要建立一個計劃清單(to-do list),以提醒我們需要做些什麼事情。comment:從小學的時候,老師就開始這樣說了。誒,都二十多年了,還是沒有做到:(2.記住,我們不是從建立對象開始,而是從測試開始3.儘快使測試回合起來: a .虛擬碼:返回一個變數,並逐漸用變數替代常量,直至虛擬碼都變成真實代碼。 b. 顯示實現:將真實的實現鍵入。4.數值對象(Value
前段時間的問題,第一個關於wsdl的問題,倒無傷大雅,第二個著實難受啊,第三個已經搜到答案了。http://www.cnblogs.com/runmin/archive/2004/09/23/45757.html2、.NET framework 1.1,Win form 控制項大小的問題,部分機器上控制項大小與開發的機器顯示不同,開發主要為Win xp pro多語言版,而顯示有出入的機器基本為Win 2000,但是有一台Win xp顯示與開發機器也不一樣,沒有注意該xp版本,應該是Win xp
執行此宏後會彈出一個Form,在兩個TextBox裡輸入類型和名稱,會自動在編輯區中自動添加 private int typeid; public int Typeid { get {return this.typeid;} set {this.typeid = value;} }這樣的property,完整的宏如下,超級鬱悶為什麼宏不能用C#寫。 Sub PropertyGenerator
http://www.microsoft.com/china/community/chat/chatrecord/chat20020801.mspx[Q] sarillafan : Hi, I want to ask one question, Is there any method to change the whole appliation style in a simple way?[A] 你可以將控制項的Flat屬性設為System,並寫一個manifest檔案 [A]
1、裝了Win xp SP2後,VS.NET中引用Web Service時的對話方塊不可用了,導致IDE中無法引用,無奈只有用wsdl.exe了;2、.NET framework 1.1,Win form 控制項大小的問題,部分機器上控制項大小與開發的機器顯示不同,開發主要為Win xp pro多語言版,而顯示有出入的機器基本為Win 2000,但是有一台Win xp顯示與開發機器也不一樣,沒有注意該xp版本,應該是Win xp pro中文版,難道與作業系統版本有關?3、MS SQL
Smell Coveredl Type Embedded in Name (including Hungarian)l Uncommunicative Namel Inconsistent NamesType Embedded in Name (Including Hungarian)Symptomsl Names are compound words, consisting of a word plus the type of