By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,469 Members | 1,065 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,469 IT Pros & Developers. It's quick & easy.

Is there any metthod to run timer tick event when form is hidden in c#.net

P: 2
hi,

I am developing a window application using c#.net.

In the main MDI Form i used a timer, and in timer's tick event i have done some neccessary work.

In this form I also used notifyicon to put application in system tray on minimize, It needed to hide the Form (just like yahoo msgr/google talk).

when application is in maximize state Timer work properly whether it is focused or not, but if application is minimize in system tray, Timer on the form does not work.

I any body know how to run timer event when form is hidden plz suggest.
thankyou
3 Weeks Ago #1
Share this Question
Share on Google+
2 Replies


100+
P: 110
When displayed in the taskbar, it will not run timer tick event.
To run timer tick event, place the following statement in the constructor:
Expand|Select|Wrap|Line Numbers
  1. this.ShowInTaskbar = false;
3 Weeks Ago #2

P: 2
thankyou my issue has been solved
2 Weeks Ago #3

Post your reply

Sign in to post your reply or Sign up for a free account.