-
C# 清空回收站的源码实例
C# 清空回收站,这个功能不用多介绍了吧,你懂的,具体的实现请看以下代码:
const int SHERB_NOCONFIRMATION = 0x000001;//整型常量在API中表示删除时没有确认对话框
const int SHERB_NOPROGRESSUI = 0x000002;//在API中表示不显示删除进度条
const int SHERB_NOSOUND = 0x000004;//在API中表示删除完毕时不播放声音
[DllImportAttribute("shell32.dll")]//声明API函数
private static extern int SHEmptyRecycleBin(IntPtr handle, string root, int falgs);
private void button1_Click(object sender, EventArgs e)
{
//清空回收站
SHEmptyRecycleBin(this.Handle, "", SHERB_NOCONFIRMATION + SHERB_NOPROGRESSUI + SHERB_NOSOUND);
}
- 2022-12-15 14:50:03下载
- 积分:1
-
配电网
计算配电网系统的供电可靠性,提供了多种方法(to calculate reliability of distributed power system.)
- 2018-01-26 19:55:16下载
- 积分:1
-
Visual Basic中列表框控件的精彩例题
Visual Basic中列表框控件的精彩例题-The list box control, Visual Basic, exciting Example
- 2022-02-02 06:51:53下载
- 积分:1
-
冒泡排序
#include < iostream.h > #define类int公共voidvoidvoid sortLogic() ; void bubsort:: getdata() {
cout arr [i] ; void bubsort:: showdata() {
cout
- 2022-02-07 05:45:31下载
- 积分:1
-
净fanbianyigongju
Net反编译工具Net fanbianyigongju -Net fanbianyigongju
Net fanbianyigongju
Net fanbianyigongju
Net fanbianyigongju
Net fanbianyigongjuNet fanbianyigongju
Net fanbianyigongjuNet fanbianyigongju
Net fanbianyigongjuNet faNet fanbianyigongjunbianyigongju
- 2023-06-29 21:00:04下载
- 积分:1
-
DTW
曲线动态时间规划,规划距离计算,应用于单元响应时间序列曲线(The curve of dynamic time warping, warping distance calculation)
- 2017-10-16 15:09:13下载
- 积分:1
-
jxs
这是一个编译并运行其他类的Java程序,此类有注释,(This is a Java program compile and run the other classes, such a comment,)
- 2017-03-20 20:12:44下载
- 积分:1
-
This is the windows API programming vc procedures, can help quickly familiar wit...
这个是有关windows API编程的vc程序,可帮助迅速熟悉windows API-This is the windows API programming vc procedures, can help quickly familiar with the windows API
- 2023-05-20 07:40:03下载
- 积分:1
-
文件上传组件美化jQuery插件
一款简单的HTML5文件上传组件美化jQuery插件(A Simple HTML5 File Upload Component to Beautify jQuery Plug-in)
- 2018-12-29 15:59:19下载
- 积分:1
-
ISO11898-1-2015
说明: ISO11898-1-2015Roadvehicles.Controllerareanetwork(CAN).Part1_Datalinklayerandphysicalsi.pdf
- 2021-02-04 15:56:46下载
- 积分:1