C# Class MarkdownViewer.MainForm

Datei anzeigen Open project: Siyy/MarkdownViewer

Public Methods

Method Description
MainForm ( string file ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

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

Private Methods

Method Description
InitializeComponent ( ) : void

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

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
_edit_TextChanged ( object sender, EventArgs e ) : void
_view_Navigating ( object sender, WebBrowserNavigatingEventArgs e ) : void
aboutMenuItem_Click ( object sender, EventArgs e ) : void
checkCanCloseFile ( ) : bool
fileNewMenuItem_Click ( object sender, EventArgs e ) : void
fileOpenMenuItem_Click ( object sender, EventArgs e ) : void
fileSaveMenuItem_Click ( object sender, EventArgs e ) : void
initEdit ( ) : void
newFile ( ) : void
openFile ( string file ) : void
refreshTitle ( ) : void
resetAll ( string content ) : void
resetEdit ( string content ) : void
resetView ( string content ) : void
saveCurrFile ( ) : void
saveFile ( string file, string content ) : void
setChanged ( bool changed = true ) : void
showOrHideEdit ( ) : void
viewEditMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

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

MainForm() public method

public MainForm ( string file ) : System
file string
return System