1. Forget about excuses 不要尋找借口 Forget rare exceptions no boss cares why an assignment wasn't done. It's your job to get it done and on time. 上司都會關心為什麼分配的工作沒有完成,這很少有例外。因此及時完成工作是你的職責。 2. Don't aim for perfection 不要苛求"完美" Getting it done well
I discovered this amazing feature almost by accident and it has made this one part of my design so much easier that I had to share it.A new feature in Silverlight 4 is the ability to using the StringFormat feature when binding. Previously, if I
今天突然發現微軟已經發布了.net framework 4.5 developer preview版,以下是它的新特性,先發個原文,有空了再翻譯。[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]This topic contains information about key
自從第一縷陽光從窗外照進來,第一股清新的空氣從外邊飄入,第一句清脆的鳥叫聲傳入我的耳朵,我知道,一個美好的早晨到來了,雖然還有建築工地施工的聲音和馬路上車水馬龍的聲音傳來,但是這依然是一個非常美好的早晨,不是嗎?一個美好又忙碌的一天,即將拉開帷幕。 在這樣的一個美好的早晨翻開一本書看,確實是一個不錯的事情,在我寫著片日誌的時候,我已經在《Head First
有時候我們需要刪除多個檔案或多個檔案夾及其檔案夾下所有檔案,這時,批處理就派上了用場,刪除單個檔案很簡單,直接用 Del命令即可,這裡不過多介紹。使用命令刪除檔案夾及檔案夾下所有檔案的代碼如下:for /d %%i in ({folder}) do @rd /s /q "%%i" 其中“{folder}”代表檔案夾的路徑,例如如果想刪除“D:/test/”檔案夾下的所有檔案,就應該這樣寫:for /d %%i in (D:/Test/) do @rd /s /q
I’ve been working on a WPF application that is fully skinned to make everything in the application look custom. WPF makes this really easy…almost too easy. We’ve been adding a lot of animations and storyboards to make transitions between screens
Senario:There are two source files a.cpp and b.cpp both in a project. a.cpp includes a function called viod show(). Now I wanna invoke that function in b.cpp.As I know, there are two ways we can use to invoke a function from another .cpp source file:
There is a three-way handshake to open a TCP/IP connection, and a four-way handshake to close it. However, once the connection has been established, if neither side sends any data, then no packets are sent over the connection. TCP is an "idle"
After building a standalone component in Part 5, I wanted to improve performance.I've read many blogs about IScrollInfo, ItemsContainerGenerator, Generator, Selector and ItemsControlclasses. I also digged into WPF source code through Reflector. But