C# Class TextEncodingConverter.Form1

Afficher le fichier Open project: xmoeproject/X-moe

Méthodes publiques

Méthode Description
Form1 ( ) : System
convEncode ( string write, int fromEncode, int toEncode ) : string

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

Méthode 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 méthode

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

Form1() public méthode

public Form1 ( ) : System
Résultat System

convEncode() public méthode

public convEncode ( string write, int fromEncode, int toEncode ) : string
write string
fromEncode int
toEncode int
Résultat string