admin 管理员组

文章数量: 1086019


2024年4月30日发(作者:虚拟机怎么进去linux桌面)

还是上学期写的东西了,既然第一次在这写博,就发点好东西给大家哈……

这只给出其中的关于文件夹的类

有需要本软件或源代码的请在本帖下跟帖,并留下你的邮箱,完全免费哈!

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;


本文标签: 进去 东西 源代码 邮箱 留下