C# Class PGMEWindowsUI.MRUManager

Mostra file Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Public Methods

Method Description
AddRecentFile ( string fileNameWithFullPath ) : void
MRUManager ( ToolStripMenuItem parentMenuItem, EventArgs>.Action onRecentFileClick, EventArgs>.Action onClearRecentFilesClick = null, int maxNumberOfFiles ) : System
RemoveRecentFile ( string fileNameWithFullPath ) : void

Private Methods

Method Description
_onClearRecentFiles_Click ( object obj, EventArgs evt ) : void
_refreshRecentFilesMenu ( ) : void

Method Details

AddRecentFile() public method

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

MRUManager() public method

If anything is null.
public MRUManager ( ToolStripMenuItem parentMenuItem, EventArgs>.Action onRecentFileClick, EventArgs>.Action onClearRecentFilesClick = null, int maxNumberOfFiles ) : System
parentMenuItem System.Windows.Forms.ToolStripMenuItem
onRecentFileClick EventArgs>.Action
onClearRecentFilesClick EventArgs>.Action
maxNumberOfFiles int
return System

RemoveRecentFile() public method

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