T
T
TechNOIR2018-02-27 22:01:00
C++ / C#
TechNOIR, 2018-02-27 22:01:00

C#. How to implement a notification counter when the program is minimized?

Good afternoon.
I am developing a chat program. Almost all chat programs, when minimized to tray or simply to the dashboard, when new messages appear, a circle with a number appears, showing the number of messages.
How can this be done using C#?
thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bashinsky, 2018-02-27
@BashkaMen

Make the INotifycation interface
Where the IsRead
flag will be You can count how many notifications have been read by the flag.
If you don’t know what an interface is and how to apply it, then it’s better to read it, of course, but if you’re too lazy, then just add the same flag to all models that are used in notifications

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question