如何在C#中添加提醒 [英] How To Put Reminder in c#

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

问题描述

大家好,

我有一个数据网格视图,其中有一个名为日期的列,当用户填写所有数据以及将来的日期时,我希望它像当该日期到来时一样,弹出消息应在主窗体上的同一日期显示.当我删除该条目时,弹出消息不应针对该特定条目显示.

请为此提供建议代码!!!
高度赞赏!! :)

HI ALL,

I have one data grid view in that i have one column called Date, when user fill all data along with future date, I want it like when that date comes, popup messages should display on same date on my main form. And when i delete that entry pop message should not display for that particular entry.

Please suggest code for this !!!
Highly Appreciate It!! :)

推荐答案



您可以使用日历DayView控件 [
希望我回答了您的查询.
谢谢
-Amit Gajjar
Hi,

You can use Calendar DayView Control[^]. this will do schedule for your alert.

Now your next step is to store this Date and Time information along with the UserId in the database.

In your Form you can create one Timer and With every Tic event of Timer control you can fetch data from the database. This data would be the reminders. Once user click on the Disclaim button that reminder will not popup anymore.

Hope i answered your query.
Thanks
-Amit Gajjar


这篇关于如何在C#中添加提醒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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