Since the inception of the SADeveloper site, there have been some stirrings in the local developer community.
The developer community down here in South Africa definitely needs some serious shaking up. I'm not sure who the right person for the job is, or even if there is much to be shaken by this person. Maybe being in Durban (IOW cut off from society (Gauteng)) contributes to my feelings, but I know that we can't even come close to what happens in the states or Europe. Heck, even India is highly active compared to us.
What I have in mind is developer-groups meeting (yes, in person!), speakers speaking, and conferences conferring (instead of being cancelled). Maybe our own little version of .NET Rocks?!
If anyone has any ideas, please send them along. I will soon reveal my own!
We often need to write apps that aren't visible to the user, or typically reside in the system tray. This is done easily enough, but I bet that most people have a tiny little glitch in their tray apps. (I had it in one I wrote two nights ago).
When the user shuts down Windows, your tray app will appear to hang, while in actual fact it's just not listening for Windows shutdown events. You need to subscribe to the SystemEvents.SessionEnded event. The SessionEnding event can be used to notify the user to save his work, etc.
Just a pearl of wisdom for today :)
[UPDATE] Jesper Rugård Jensen asked about the difference between SessionEnding and SessionEnded . SessionEnding occurs when the user tries to log off or shut the system down (IOW *before* the session's actual end), and receives an argument of type SessionEndingEventArgs, which has the following two properties:
Cancel Gets or sets a value indicating whether to cancel the user request to end the session. (Boolean)
Reason Gets the reason the session is ending.
SessionEnded occurs when the session is ending, and this can't be aborted anymore - it receives SessionEndedEventArgs that only has one property:
Reason Gets the reason the session has ended.
Reason is of type SessionEndReasons (an enumerator), and could be either Logoff or SystemShutdown - self-explanatory ;o)
This blog *has* been exceptionally quiet since its birth.
I have been meeting with the various Mill Group Boards of certain sugarmills on almost each and every day this year. No time is spent in my office, but as soon as I get back, this should change. Promise.
This is certainly a big improvement over my old blog - I wonder if there's a way to port all my previous blogging over here? Time will tell.