C# Class QC2DXLuaScriptPacker.Form1

Inheritance: System.Windows.Forms.Form
显示文件 Open project: NexusEast/QC2dxLua_Packer

Public Methods

Method Description
DeleteADirectory ( string strPath ) : bool

解决删除目录提示:System.IO.IOException: 目录不是空的。 删除一个目录,先遍历删除其下所有文件和目录(递归)

Form1 ( ) : System
GetCMDOutString ( string path, string arguments ) : string

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
FindFile ( string FoldPath, string filter ) : void
Form1_FormClosing ( object sender, FormClosingEventArgs e ) : void
Form1_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ReadData ( ) : void
button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
button4_Click ( object sender, EventArgs e ) : void
button5_Click ( object sender, EventArgs e ) : void
button6_Click ( object sender, EventArgs e ) : void
copySelectedFileToTempDir ( ) : void
deleteTmpFiles ( string strPath ) : void
getPath ( ) : string
label3_Click ( object sender, EventArgs e ) : void
listView1_ColumnClick ( object sender, System.Windows.Forms.ColumnClickEventArgs e ) : void
listView1_SelectedIndexChanged ( object sender, EventArgs e ) : void
parseParams ( string src, string param ) : void
textBox1_TextChanged ( object sender, EventArgs e ) : void
textBox2_TextChanged ( object sender, EventArgs e ) : void
writeSonfigToFile ( ) : void

Method Details

DeleteADirectory() public static method

解决删除目录提示:System.IO.IOException: 目录不是空的。 删除一个目录,先遍历删除其下所有文件和目录(递归)
public static DeleteADirectory ( string strPath ) : bool
strPath string 绝对路径
return bool

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Form1() public method

public Form1 ( ) : System
return System

GetCMDOutString() public static method

public static GetCMDOutString ( string path, string arguments ) : string
path string
arguments string
return string