My Little project TimeIsMoney is participating in a contest by Maciej Aniserowicz.
At the moment it’s really simple tool used to help me with collecting and sorting various tasks.
I’m doing this just for fun. This contest will be a great motivation and good way to promote this blog :P
So what’s interesting in the code right now ?
1. ListBox DataSource Reloading
This Extension method reloads the Data source of a ListBox. I know it looks stupid but it works :D. Let’s take a look in Reflector …. hmm
So by assigning null value i m calling the SetDataConnection(,,,) which reloads the data. Also you can easily see that we have to reasssign DisplayMember value beacuase it is set to an Empty String at the end.
To catch the key press events i am using slightly modified code from link . I made a little tweak to enable the special keys combinations , so you can catch the alt+ctrl+b sequention.
That’s all for now ;] If you want to check the code it is on the GitHub.Tweet