Because Invoke/BeginInvoke accepts Delegate (rather than a typed delegate), you need to tell the compiler what type of delegate to create ;MethodInvoker (2.0) or Action (3.5) are common choices (note they have the same signature); like
http://blog.csdn.net/bokee/article/details/5330791http://blog.csdn.net/bokee/article/details/5330682 時間處理時實際項目中經常碰到的問題,這裡介紹最常用的時間處理函數。首先介紹基本的時間概念。時間一般分為兩種,一種是本地時間(Local Time),一種是國際標準時間間(Coordinated Universal Time
今天忒倒黴了, VS出錯後, Excel開啟也出現問題。暈!發泄一下吧,CSDN 空間還停止維護 Google一下…… 解決方案: Microsoft Excel 2010 Click the File tab, and then click Options.Click Advanced, and then click to clear the Ignore other applications check box in the General area.Click
在公司的產品上發現了一個奇怪的bug。在使用了雙顯示器的機器上,有時產品的主視窗最大化以後會在左、上兩個邊界各丟失8個像素的地區。這裡丟失的意思是不再屬於這個視窗,滑鼠點擊這個地區會啟用下面一個視窗。是用SetWindowRgn重設視窗地區可以找回丟失的部分,但是視窗會失去Windows主題,變成經典標題列、邊框。最後用暴力方法定位了問題代碼,並通過Demo程式重現了這個bug。最終的原因是,一個Win32 API
現在大部分人裝系統一般都直接裝SP3了(如果想用XP的話)。但如果你的電腦擁有High Definition Audio音訊裝置,就需要安裝High Definition Audio (HDA) 裝置,那麼最少需要安裝微軟的通用音頻架構(UAA)修正補丁,通常在Windows XP SP1系統下,我們需要安裝KB835221,而在Windows XP
在工作列上顯示/隱藏視窗WS_EX_APPWINDOW Forces a top-level window onto the taskbar when the window is visible. 這個屬性在對話方塊的屬性頁面中是找不到的,可以直接在.rc中編輯。另外,WS_EX_TOOLWINDOW也可以在工作列上隱藏視窗,但是那個視窗的標題列會使用小字型。WS_EX_TOOLWINDOW Creates a tool window, which is a window intended