I'm developing a system in which a user can send a message to another, (which gets saved in the database, to have a conversation history), but I would like that while the user is using other system functions , an event occurred and opened a window stating that it received a message.
I want to create a static class that will check for new messages. But how could I activate this event, and treat it?
EDIT
How many users will be logged into the system at the same time, would not there be some way for a trigger from the bank itself to send a signal to the system? Well, I'm afraid it will slow down the bank's speed if the timer stays open and closed.