Inheritance: System.EventArgs
Exemple #1
0
        void explorer_OpenContainingFolderEvent(object sender, Forms.BaseForms.PathEventArgs e)
        {
            if (string.IsNullOrEmpty(e.Path))
            {
                return;
            }
            string path = PK.Wrapper.ExpandEnvVars(e.Path, "");

            if (File.Exists(Path.GetFullPath(path)))
            {
                System.Diagnostics.Process.Start("explorer.exe", "/select, \"" + Path.GetFullPath(path) + "\"");
            }
        }
 void _treeView_OpenContainingFolderEvent(object sender, PathEventArgs e)
 {
     OnOpenContainingFolderEvent(e.Path);
 }