C# Class XSDDiagram.MRUManager

显示文件 Open project: dgis/xsddiagram Class Usage Examples

Public Methods

Method Description
AddRecentFile ( string fileNameWithFullPath ) : void
MRUManager ( ToolStripMenuItem parentMenuItem, string nameOfProgram, EventDelegate onRecentFileClick, EventDelegate onClearRecentFilesClick ) : System
RemoveRecentFile ( string fileNameWithFullPath ) : void

Private Methods

Method Description
_onClearRecentFiles_Click ( object sender, EventArgs e ) : void
_refreshRecentFilesMenu ( ) : void

Method Details

AddRecentFile() public method

public AddRecentFile ( string fileNameWithFullPath ) : void
fileNameWithFullPath string
return void

MRUManager() public method

public MRUManager ( ToolStripMenuItem parentMenuItem, string nameOfProgram, EventDelegate onRecentFileClick, EventDelegate onClearRecentFilesClick ) : System
parentMenuItem System.Windows.Forms.ToolStripMenuItem
nameOfProgram string
onRecentFileClick EventDelegate
onClearRecentFilesClick EventDelegate
return System

RemoveRecentFile() public method

public RemoveRecentFile ( string fileNameWithFullPath ) : void
fileNameWithFullPath string
return void