zoukankan
html css js c++ java
运行 或打开文件
/***打开文件***/
#region
/***打开文件***/
/**/
///
<summary>
///
运行或打开文件
///
</summary>
public
void
Run()
{
if
(
this
._lst.SelectedItems.Count
!=
1
||
DirPath
==
""
)
return
;
ListViewItem item
=
this
._lst.SelectedItems[
0
];
string
fileName
=
DirPath
+
item.Text;
try
{
System.Diagnostics.Process.Start(fileName);
}
catch
(System.ComponentModel.Win32Exception ex)
{
MessageBox.Show(ex.Message);
}
catch
(Exception ex)
{
MessageBox.Show(ex.Message);
}
}
#endregion
查看全文
相关阅读:
HTTP 缓存图解
http协议构成整理
HTTP2.0
Event Loop
斐波那契数列
归并排序
快速排序
史上最全前端资源
Js 将 Date 转化为指定格式的String
vue-cli webpack全局引入jquery
原文地址:https://www.cnblogs.com/flashicp/p/726923.html
最新文章
ag-zorro样式修改
anguar9打包优化速度更快
函数参数是什么传递
es6加深理解
事件机制在浏览器和node环境的区别
闭包场景举例
yarn 下载node-sass 设置源
webstorm中显示npm面板运行npm命令
省市json文件
js 性能检测
热门文章
gulp初学
[javascript] 模拟通讯薄锚点跳转
javascript 性能检测
javascript 闭包
函数 两种定义函数的方式
数组 join
数组 判断是否是数组
数组 reduce
arr.every arr.some
代码优化点--程序的局部性
Copyright © 2011-2022 走看看