Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to know when the DeskBand is shown or hidden in my code? #55

Open
KirillBorunov opened this issue Jan 3, 2021 · 3 comments
Open

Comments

@KirillBorunov
Copy link

KirillBorunov commented Jan 3, 2021

For example, I'm using some timers, connections, etc. to periodically gather information to show on the deskband. But this process is necessary only if the deskband is shown. It the user hides the deskband I don't need to run these information gathering. If the user enable the deskband again then I need to start that information gathering again.
So is there any events that I can use to determine if the status of the deskband has changed?

WinForms

@hdefucom
Copy link

hdefucom commented Sep 2, 2021

if Winform,
CSDeskBandWin --> override DeskbandOnClosed

show deskband --> call Constructor
close deskband --> call DeskbandOnClosed

@hdefucom
Copy link

hdefucom commented Sep 2, 2021

But I think WPF should be the same

1 similar comment
@hdefucom
Copy link

hdefucom commented Sep 2, 2021

But I think WPF should be the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants