July 2008 Entries
Yes, I know that previous Framework Tips had number VIII, but I didn’t notice that I already had VIII, so this makes this part 10th in the row. Each enum, is a named collection of flags, that mask a numeric type. For example: public enum ErrorCodes
{
FileNotFound = 0x12,
OutOfDiskSpace = 0x14
}
You could use this enum in an error handling method like:
public void HandleError(ErrorCodes errorCode)
{
switch(errorCode)
...
Along with Subversion 1.5 and TortoiseSVN 1.5 a new version of AnkhSVN has been released some time ago. AnkhSVN v1.x used to suffer from many issues. It was instable, used far too much resources, and had many usability bugs, that repelled many people. For version 2.0 many parts of the tool have been rewritten from ground up, and now it’s a very descent tool that you should give second chance if you abandoned it after trying out previous version. I was very pleasantly surprised by it, when I fired up my Visual Studio...
If you (like me) are annoyed by the Firefox download window coming up and flashing on your taskbar each time you download a file here’s quick way to disable it: Go to about:config (like I shown here) find browser.download.manager.flashCount change it’s value to 0 done. You may also want to make sure that browser.download.manager.focusWhenStarting is false. Technorati Tags: Firefox
Really? Is The Dark Knight the best film ever? Come on… And if it really is half as good as they say, why do I have to wait two more weeks to see it Technorati Tags: The Dark Knight, Movies
See you in two weeks. Technorati Tags: Crete, Greece