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
查看全文
相关阅读:
Linux 命令
Linux 命令
Linux 命令
Linux 命令
121.Best Time to Buy and Sell Stock---dp
136.Single Number---异或、位运算
141.Linked List Cycle---双指针
Restful接口设计
socket网络编程
107.Binary Tree Level Order Traversal II
原文地址:https://www.cnblogs.com/flashicp/p/726923.html
最新文章
uva1583(暴力枚举或打表)
Codeforces Round #242 (Div. 2)C(找规律,异或运算)
索引的方法
索引解释
存储过程停止执行
锁住的存储过程
创建索引的方法
PL/SQL老是自动断开问题处理
SSH自动断开处理
计算存储过程执行时长
热门文章
intelij idea 常用插件下载
数据类型解读
sqlServer组合主键
关于nosql的讲解
JavaScript
Shell
Shell
Linux 命令
Linux 命令
Linux 命令
Copyright © 2011-2022 走看看