2024年4月25日发(作者:)
还是上学期写的东西了,既然第一次在这写博,就发点好东西给大家哈……
这只给出其中的关于文件夹的类
有需要本软件或源代码的请在本帖下跟帖,并留下你的邮箱,完全免费哈!
ChangeFolder 类:
using System;
using c;
using ;
using pServices;
using ;
using graphy;
using 32;
using stics;
namespace FolderTool
{
class ChangeFolder
{
[DllImport(”kernel32″)]
private static extern long WritePrivateProfileString(string section, string key,
string val, string filePath);
[DllImport(”kernel32″)]
private static extern int GetPrivateProfileString(string section, string key, string
def, StringBuilder retVal, int size, string filePath);
private string pathOfFolder;
public ChangeFolder() { ;}
public ChangeFolder(string pathOfFolder)
{
Folder = pathOfFolder;


发布评论