本文介绍了Ayuda con programa para notificaciones的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在制作一个mdi winforms应用程序c#,我需要每x分钟一次,我的程序在我的数据库中进行搜索,如果找到一条新记录,我需要在mdiparent中更新标签文本。



我知道如何使用mdi父级中的计时器执行此操作,但我想让它更好,我不想要我的主要形式的计时器,我知道我可以使用后台工作人员,但我没有说明如何做到这一点,任何人都可以帮助我。



对不起如果我发布这个错误或者错误的地方是我的第一个问题。

Hello im making a mdi winforms application c# and i need something that every x minutes, my program makes a search in my database and if found a new record i need that a label text updates in the mdiparent.

I know how to do this with a timer in the mdi parent, but i want to make it better and i dont want the timer in my main form , and i know i can use a background worker for this but i havent feigure it out how to do it, can any one help me.

sorry if im posting this wrong or in a wrong place is my first question ever.

推荐答案


这篇关于Ayuda con programa para notificaciones的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 23:19