c# - 浏览文件夹路径时高亮应用实例新创建的文件
问题描述
通过 Process.Start(folderPath) 导航到文件夹时,我希望看到新创建的文件突出显示/选中。每次我打开我的 wpf 应用程序的实例时,都会在指定的文件夹路径中创建一些日志文件。我想将那些新创建的文件视为突出显示/选中。
private void ShowFolder()
{
//Open the folder path through Process.Start
//sLogFolderPath is the folder path where log files are created
System.Diagnostics.Process.Start(sLogFolderPath);
//When folder is opened through Process.Start,
//I would like to see the newly created files as highlighted.
}
解决方案
推荐阅读
- metadata - Google IoT 核心设备元数据
- azure - 在 Azure Web App for Containers 上运行 Rasa bot
- mysql - 有人可以帮助将此 MySql 查询转换为 JPQL 或 HQL 吗?
- css - 如何使用内联显示块将元素浮动到右侧,同时保持居中的垂直兄弟?
- spring - Spring DefaultJmsListenerContainerFactory 在 JBoss EAP 7 上丢弃消息
- python - 我在机器学习中绘制模型的输出,但我不知道 plt.plot... 代码行做什么?谁能解释那条线
- curl - cURL 授权错误 - 许可证管理器 WooCommerce
- iteration - 如何比较与ID相关的不同列和不同行中的两个值
- c# - 从 C# 运行 Curl 命令
- r - 闪亮应用程序中的 mailR 问题