473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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
Mar 3 '20 #1
2 2892
SioSio
272 256MB
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;
Mar 4 '20 #2
thankyou my issue has been solved
Mar 9 '20 #3

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

Similar topics

8
by: Teis Draiby | last post by:
In a Codeproject tutorial, http://codeproject.com/cs/miscctrl/first_control.asp?df=100&forumid=1690&select=785273 System.Timers.Timer.Tick is used, but apparently no such 'property'(?) exists....
7
by: J. Hill | last post by:
I have a Windows Service with a timer but the .Tick event is not being fired/called. Don't know what code to include...I enabled and started the timer...I have the exact same code in a Windows...
5
by: Jason | last post by:
I have an application that uses a timer. I've created a function called TickEvent that I "assigned" to the timer1.Tick event: this.timer1.Interval = 1000; this.timer1.Tick += new...
4
by: Dan | last post by:
Hi, I have a timer on a form (System.Windows.Forms.Timer - Framework 1.1) that is set to 60 seconds as sort an of inactivity monitor. If 60 seconds have elapsed without any user activity I want...
9
by: Brett | last post by:
I have a timer enabled on a form with an interval of 200. I place a break point on the first line in the timer tick event, which is a try. After a few events go on, the timer seems to stop. My...
7
by: Jayyde | last post by:
Is there any way to accomplish this? The forms _Load event fires off several other small ones that I'd like to track time for. I can't get either the Mdi Parent form's timer _Tick event or the...
5
by: jitendra_jkr_mca05 | last post by:
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...
1
by: Chris Taylor | last post by:
Hi, I have a simple c# winforms app which was comprised of two seperate projects - a splash screen and a main app. The main app called the splash screen, which used a Forms.Timer, created on a...
16
by: AAaron123 | last post by:
I have a timer. At each tick, say 0.1 second, I write a file. If it takes more than 0.1 second to write the file the app will not work correctly. How can I tell in the tick event if the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.