e.g. TypeOf ctl Is Button
檢查控制項 ctl 是否為 Button
2009/02/16
2009/02/12
.NET WindowForms 選單快速鍵的建立
MenuStrip 中的選單快速鍵做法
在選單名稱後加入 & 再加快速鍵字母即可
e.g.
工具 (&T) ==> 在視窗將會顯示 "工具 (T)"
若要加入分隔線, 則直接在 Text 輸入值 "-"
在選單名稱後加入 & 再加快速鍵字母即可
e.g.
工具 (&T) ==> 在視窗將會顯示 "工具 (T)"
若要加入分隔線, 則直接在 Text 輸入值 "-"
2008/12/30
加速開啟 VS2008 及 SQL Server Management Studio
2008/11/14
Visual Studio - JScript Editor 支援 -vsdoc.js IntelliSense 文件
VS2008 愈來愈聰明了!
hotfix 安裝需求:
Visual Studio 2008 SP1
Visual Web Developer 2008 Express edition with SP1
執行:
若在文件中引入 javascript 檔案, 命名如: abc-1.2.3.js
VS2008 將會自動找尋對應的 -vsdoc.js 文件 (如: abc-1.2.3-vsdoc.js) 做為 intellisense 的文件來源
也就是說只要準備 abc-1.2.3.js 及 abc-1.2.3-vsdoc.js 兩個檔案
引入時只需引入 abc-1.2.3.js 檔
在外部的 js 參考也僅需加入原檔的參考, 而不需要輸入完整的 intellisense 參考檔
2008/10/29
[Blend2] Intellisense for Expression Blend 2 SP1
While coding in source code mode, XAMLntellisense is avaliable in VS2008 but not in Blend2. BUT I find a good news, now it's possible to have intellisense in Blend2. Please read articles listed below:
Articles: Intellisense for Expression Blend 2 SP1 working again! (mention details about installation steps)
Code Reference: IntelliSense For Expression Blend
Installing BlendSense in XP is as easy as what the article instructs. Under Vista OS, I have to use cmd console to execute following command:
Articles: Intellisense for Expression Blend 2 SP1 working again! (mention details about installation steps)
Code Reference: IntelliSense For Expression Blend
Installing BlendSense in XP is as easy as what the article instructs. Under Vista OS, I have to use cmd console to execute following command:
# cd [Blend Installation Folder]
# Blend.exe -addin:Addins\Expression.Blend.Intellisense.dll
2008/10/23
[iTextSharp] iTextSharp encryption options for PDF document
iTextSharp encryption options for PDF document (setEncryption)
The userPassword and the ownerPassword can be Nothing or have zero length. In this case the ownerPassword is replaced by a random string.
The open permissions for the document can be following:
Easy way to choose which permission to use (VS2008 intellisense):
e.g.
Related Articles: 循序漸進學習iTextSharp之十一(對文檔進行加密)
The userPassword and the ownerPassword can be Nothing or have zero length. In this case the ownerPassword is replaced by a random string.
The open permissions for the document can be following:
AllowPrinting, AllowModifyContents, AllowCopy, AllowModifyAnnotations, AllowFillIn, AllowScreenReaders, AllowAssembly, and AllowDegradedPrinting
Easy way to choose which permission to use (VS2008 intellisense):
e.g.
PdfWriter.AllowPrinting
Related Articles: 循序漸進學習iTextSharp之十一(對文檔進行加密)
2008/10/22
[Silverlight] Silverlight Tools for VS2008 CHT Relased!
Silverlight Tools for VS2008 CHT is available now!!!
http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&FamilyID=c22d6a7b-546f-4407-8ef6-d60c8ee221ed
http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&FamilyID=c22d6a7b-546f-4407-8ef6-d60c8ee221ed
訂閱:
文章 (Atom)