C# Class TextEncodingConverter.Form1

Exibir arquivo Open project: xmoeproject/X-moe

Public Methods

Method Description
Form1 ( ) : System
convEncode ( string write, int fromEncode, int toEncode ) : string

Protected Methods

Method Description
Dispose ( bool disposing ) : void

清理所有正在使用的资源。

Private Methods

Method Description
AddFileItem ( int i, string path, string folder, string extension ) : void
AutoGetEncoding ( ) : void
Form1_Load ( object sender, EventArgs e ) : void
GetEncode ( byte buffer ) : Encoding
GetFileList ( string Folder, string Filter ) : List
GetTextData ( byte buffer, Encoding encoding ) : string
InitializeComponent ( ) : void

设计器支持所需的方法 - 不要 使用代码编辑器修改此方法的内容。

WriteTextFile ( string filepath, string body, Encoding encoding ) : void
button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
textBox2_TextChanged ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

清理所有正在使用的资源。
protected Dispose ( bool disposing ) : void
disposing bool 如果应释放托管资源,为 true;否则为 false。
return void

Form1() public method

public Form1 ( ) : System
return System

convEncode() public method

public convEncode ( string write, int fromEncode, int toEncode ) : string
write string
fromEncode int
toEncode int
return string