询问有关C#和统计UI的问题 [英] Asking a question about C# and a statistics UI

查看:65
本文介绍了询问有关C#和统计UI的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在尝试生成有关C#winforms的统计信息,并将数据存储到txt文件中。



如何知道新数据何时输入此txt文件? (更新统计数据)



实际上这样做了吗?也许还有其他方法更容易?



我尝试过:



我在谷歌上找不到任何东西可能不是这样做的吗?

解决方案

参见文档: FileSystemWatcher Class(System.IO) [ ^ ] - 它包含示例代码。

Hi guys,

I am trying to generate statistics on C# winforms and the data is stored into a txt file.

How can i know when a new data has entered into this txt file? (To update the statistics)

it is practicle to do so ? maybe there are other ways which are easier?

What I have tried:

I cannot find anything on google maybe it is not practicle to do so ?

解决方案

See the documentation: FileSystemWatcher Class (System.IO)[^] - it includes example code.


这篇关于询问有关C#和统计UI的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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