我想有一个框,显示按时间顺序消息(最近在底部)的列表喜欢在FTP应用程序和IDE常见。下面是FileZilla的消息日志:
目前,我得到了类似的功能,从一个只读的文本框,但是这是不完美的。
积分为以下内容:
在上下文菜单中有复制此消息选项 在过滤的级别 选项写日志记录文件 解决方案您可以记录的在事件日志中的。它具有很实用的接口。您也可以使用企业库的,如果你打算切换到数据库,文件或其他记录目的地哪个企业库支持
What I want to have is a box that displays a list of messages in chronological order (most recent at the bottom) like is common in FTP apps and IDEs. Here's the FileZilla message log:
At the moment, I'm getting similar functionality from a read only text box, but this isn't perfect.
Bonus points for the following:
Context menu has the option of "copy this message" Filtering by "level" Option to write log to file解决方案
You could log into Event Log. It has quite usable interface. You can also use Enterprise Library if you plan to switch to database, file or other logging destination which enterprise library supports
下一篇:转换长字符串至今字符串