C#提醒应用程序 [英] C# Reminder application

查看:91
本文介绍了C#提醒应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我目前正在尝试开发提醒应用程序.这就是我想要的应用程序的样子.

1.至少可以提醒两个人.
2.从计算机启动时开始.
3.不应将提醒保存在数据库中,而应保存为xml或文件.
4.除非通过单击桌面上的快捷菜单或系统托盘上的通知图标将其打开,否则不会看到它.
5.应该在后台运行,并在时间到时显示某种通知.
6.仅应通过系统任务栏上的图标显示它正在运行.就像Orbit下载器或其他下载器一样.

我对C#并不陌生.我是程序员,我可以做大多数事情,但是我的问题是,如何创建具有几种形式的Windows应用程序,但是在运行时仅在系统托盘上显示一个图标.我可以在系统任务栏上创建图标,但是我必须有一个表单来放置该通知控件.因此,当我运行系统时,表格将打开.我不要我不希望打开表单,除非用户单击通知图标上的某些右键单击菜单或其他内容.

因此,我将重点放在
1.如何创建在计算机启动时启动的应用程序.
2.如何使该应用程序运行(在后台检查系统日期时间).
3.如何仅在系统任务栏上显示图标,而不在表单上显示(除非用户要求).

我正在使用Visual Studio2005.

谢谢.

Hello
I am currently trying to develop a reminder application. Here is what i want the application to be like.

1. Be able to take at least two reminders.
2. Start with when the computer boots.
3. Shouldn''t have the reminders saved in a database but rather an xml or file.
4. Shouldn''t be seen unless it is opened by clicking it''s shortcut menu on the desktop or the notification icon on the system tray.
5. Should run on the background and show some kind of notification when the time is up.
6. Should only show it is running by the icon on the system tray. Like the Orbit downloader or others.

I am not new to c#. I am programmer and i can do most of the things but my problem is, how to create a windows application which has a couple of forms, but only shows an icon on the system tray when it is running. I can create the icon the system tray, but i have to have a form to put that notification control on. So when i ran the system, the form will open. I don''t want that. I don''t want the form to open unless the user clicks some right-click menu on the notification icon or something.

So, my emphasis will be on
1. How to create an application that starts when the computer starts up.
2. How to make that application running (checking system date time on the background).
3. How to show only the icon on system tray and not the forms (Unless requested by the user).

I am using Visual studio 2005.

Thank you.

推荐答案

This[^] might be of some use to you.


大家好..



查看此页面链接

简单提醒应用 [
hello guys..



see this page link

Simple Reminder Application[^]






by

if any doubts..........contact

balag2012mail@gmail.com


尽管我已经找到了一种使用表格和通知图标的方法,但是您给我的链接确实很有帮助.非常感谢.
我仍在寻找实现这一目标的新方法.因此,请始终保持这些答案.
我认为为如此小的应用程序提供数据库不是一个好主意,因此我决定将其存储在xml文件中.因此,我现在专注于将表类型的数据存储在xml中.
Although i''ve figured out a way to use the form and notify icon together, the link you gave me really helped. Thanks a lot.
I''m still looking for new ways to do this. So keep those answers coming.
I don''t think its a good idea to have a database for such a small application, so i decided to store this in an xml file. So i''m now concentrating on storing a table kind of data in xml.


这篇关于C#提醒应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆