在浏览文件夹路径时突出显示新创建的应用程序实例文件

时间:2018-05-08 12:53:45

标签: c# wpf file directory process.start

通过Process.Start(folderPath)导航到文件夹时,我希望看到新创建的文件突出显示为/ Selected。每次我打开我的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.

        }

0 个答案:

没有答案