Welcome to Dream.In.Code
Become a C# Expert!

Join 150,399 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 974 people online right now. Registration is fast and FREE... Join Now!




[SOLVED] Making a small timer program to remind me every 10 minutes.

 
Reply to this topicStart new topic

[SOLVED] Making a small timer program to remind me every 10 minutes., Just need some ideas. :)

papuccino1
7 Mar, 2008 - 04:09 PM
Post #1

D.I.C Head
**

Joined: 2 Mar, 2008
Posts: 91


My Contributions
Hello, here I am again asking the help from the pro's. pirate.gif

Well, I want to make a little program that reminds me when 10 minutes are up. Every ten minutes.


So I'm curious as to how I could go about this. What sort of reminder could it be?

So far I have these ideas:
*Minimize all the windows.
*Play a sound file.
*Have a message pop up.

I'm curious as to the dificulty of making each, care to share some insight? How feasable is it to make it minimize all the windows? Thanks for the ideas. biggrin.gif

Edit: JUST TO CLARIFY!!! I don't want the code, I found that by myself. I just need some ideas for what the event can be every tick I set and what is feasable for a semi-novice user to implement. smile.gif

Edit 2: Crap. Dragging a timer control from the toolbox didn't do what I expected. There is no control added to the design. sad.gif What should I do?

This post has been edited by papuccino1: 7 Mar, 2008 - 04:42 PM
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: [SOLVED] Making A Small Timer Program To Remind Me Every 10 Minutes.
7 Mar, 2008 - 04:27 PM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,660



Thanked: 314 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Do remember in C# the timer you drag is put down in the form tray area. It is on your form, you just can't visibly see it until you open the form tray.

As for your original question, I would make it close all the windows and then popup a message. That is assuming that you are creating it for people like me who are addicted to the PC and won't take breaks. That way when all the windows close and the message pops up, it is annoying to the user and forces them to break out of zombie mode.

Another option is just to have option menus so that the user can choose their own method of how they want to be reminded. Some like sounds, some don't. What if they are on their headphones? Should their be a visual cue?

All the decisions of a designer. wink2.gif
User is offlineProfile CardPM
+Quote Post

papuccino1
RE: [SOLVED] Making A Small Timer Program To Remind Me Every 10 Minutes.
7 Mar, 2008 - 04:33 PM
Post #3

D.I.C Head
**

Joined: 2 Mar, 2008
Posts: 91


My Contributions
Thanks for the reply. smile.gif

I'm making this program just for myself. Just a tool made for me. biggrin.gif Ah the joy of being a programmer. tongue.gif

Is it possible just to have the windows minimize?


Great now I have the timer function showing a Messagebox.Show() every 5 seconds. biggrin.gif Problem is, if I select a different thing on the form, like a textbox, button, etc. I don't know how to get back to the timer controls. Any info?

This post has been edited by papuccino1: 7 Mar, 2008 - 04:38 PM
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: [SOLVED] Making A Small Timer Program To Remind Me Every 10 Minutes.
7 Mar, 2008 - 04:40 PM
Post #4

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,660



Thanked: 314 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Quick and dirty shot... you probably know the area I am talking about. I figured you may not see it right now.

Attached Image

And btw yeah you can minimize windows easily.

csharp

forminstance.WindowState = FormWindowState.Minimized;


This post has been edited by Martyr2: 7 Mar, 2008 - 04:42 PM
User is offlineProfile CardPM
+Quote Post

papuccino1
RE: [SOLVED] Making A Small Timer Program To Remind Me Every 10 Minutes.
7 Mar, 2008 - 04:41 PM
Post #5

D.I.C Head
**

Joined: 2 Mar, 2008
Posts: 91


My Contributions
QUOTE(Martyr2 @ 7 Mar, 2008 - 05:40 PM) *

Quick and dirty shot... you probably know the area I am talking about. I figured you may not see it right now.

Attached Image


Haha learn something new everyday. Thanks a bunch. Now I got it working. smile.gif

User is offlineProfile CardPM
+Quote Post

TylerMoyer
RE: [SOLVED] Making A Small Timer Program To Remind Me Every 10 Minutes.
7 Mar, 2008 - 06:01 PM
Post #6

New D.I.C Head
*

Joined: 9 Oct, 2007
Posts: 27


My Contributions
QUOTE(papuccino1 @ 7 Mar, 2008 - 05:33 PM) *

biggrin.gif Ah the joy of being a programmer. tongue.gif



Yeah, a programmer that needs help from other programmers.. what a programmer..

User is offlineProfile CardPM
+Quote Post

papuccino1
RE: [SOLVED] Making A Small Timer Program To Remind Me Every 10 Minutes.
7 Mar, 2008 - 06:41 PM
Post #7

D.I.C Head
**

Joined: 2 Mar, 2008
Posts: 91


My Contributions
QUOTE(TylerMoyer @ 7 Mar, 2008 - 07:01 PM) *

Yeah, a programmer that needs help from other programmers.. what a programmer..



Even an advanced user never stops learning. I think you should grow up a bit. Jerk.

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 06:46PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month