one more update
- Even more Language Module Fixes (more than 1 lines for each key is now supported)
- Right Click on tree now works better (4th (and final) version of the Notification Framework)
- Edit Lyrics/Comments Fixed (not removing anymore)
- Automatic Update of Treeview while Adding/Updating fixed
Download it here [url]http://www.artificialspirit.com/beta/ts606.zip[/url]
Probably 2-3 days before the final release..
Today there was the time for a major inside change after even the latest Observer Pattern failed to provide something stable and simple.
I used a technic which i call "Director - Actor". A quick and dirty description of this is the following.
Director is my application object. Actors are his observers. Every object who has access to the application object can now send notifications through director to all the actors. Even objects running on different threads can send messages to the actors and the messages will be delivered in the main thread. It supports two different methods (Send And Post just like windows).
Post Messages are handled through a Hearbeat (My MainDialog calls the 'Heartbeat' function periodically using a timer every 500ms)
PostMessages are thread safe
All Messages from other threads finally become PostMessages
I m so happy that i am even considering to write an article in CodeProject for this.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment