C# Class Win.CodeNavi.frmMain

Mostrar archivo Open project: nccgroup/ncccodenavi Class Usage Examples

Public Properties

Property Type Description
scmMine Win.CodeNavi.SourceCodeMarkUp

Public Methods

Method Description
DoSearchFromCode ( string strText ) : void

This is called by the frmCodeView class to initiate a search from outside

SaveExtensions ( ) : void
SendToNotes ( String strNote ) : void
frmMain ( ) : System

Constructor

Private Methods

Method Description
ActiveMdiChild_FormClosed ( object sender, FormClosedEventArgs e ) : void
ActiveMdiChild_SizeChanged ( object sender, EventArgs e ) : void
AddAndSaveCodePath ( ) : void

Saves the code path

DoSearch ( ) : void

Main search entry point

OnApplicationExit ( object sender, EventArgs e ) : void

Handle the application exit event

UpdateGrepifyProfiles ( ) : void
UpdateNotesStatus ( string strText ) : void
WatcherRenameUpdateGrepifyProfiles ( object e, RenamedEventArgs a ) : void
WatcherUpdateGrepifyProfiles ( object e, FileSystemEventArgs a ) : void
closeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cmdCodeBrowser_Click ( object sender, EventArgs e ) : void
cmdCodePath_Click ( object sender, EventArgs e ) : void

Folder icon in toolbar click event handler

cmdDateStamp_Click ( object sender, EventArgs e ) : void

cmdErase_Click ( object sender, EventArgs e ) : void

cmdExlSave_Click ( object sender, EventArgs e ) : void
cmdExperiment_Click ( object sender, EventArgs e ) : void
cmdFontColour_Click ( object sender, EventArgs e ) : void
cmdForget_Click ( object sender, EventArgs e ) : void
cmdFormatText_Click ( object sender, EventArgs e ) : void
cmdGrepifyScan_Click ( object sender, EventArgs e ) : void
cmdIgnoreComments_Click ( object sender, EventArgs e ) : void
cmdMaxSearch_Click ( object sender, EventArgs e ) : void
cmdNotesTabSave_Click ( object sender, EventArgs e ) : void
cmdRemember_Click ( object sender, EventArgs e ) : void
cmdReset_Click ( object sender, EventArgs e ) : void
cmdWinCascade_Click ( object sender, EventArgs e ) : void
cmdWinTile_Click ( object sender, EventArgs e ) : void
cmdWordWrap_Click ( object sender, EventArgs e ) : void
cmdshowNotesPanel_Click ( object sender, EventArgs e ) : void
copyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
ctxRichNotes_Opening ( object sender, CancelEventArgs e ) : void
ctxTab_Opening ( object sender, CancelEventArgs e ) : void
doExtensionReset ( ) : void
frmMain_Click ( object sender, EventArgs e ) : void
frmMain_FormClosing ( object sender, FormClosingEventArgs e ) : void

Handle the form closing

frmMain_KeyDown ( object sender, KeyEventArgs e ) : void

Key handler for the main form

frmMain_KeyPress ( object sender, KeyPressEventArgs e ) : void

This catches the escape to exist the app

frmMain_Load ( object sender, EventArgs e ) : void

Load handler for the main form

frmMain_MdiChildActivate ( object sender, EventArgs e ) : void
frmMain_SizeChanged ( object sender, EventArgs e ) : void
lblSearch_Click ( object sender, EventArgs e ) : void

Search icon in toolbar click event handler

opCaseSearch_Click ( object sender, EventArgs e ) : void

Case insensitive meny option click event handler

opRegexSearch_CheckedChanged ( object sender, EventArgs e ) : void
opRegexSearch_Click ( object sender, EventArgs e ) : void

Regex menu option click event handler

openFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Opens a file

optAutoSaveNotes_Click ( object sender, EventArgs e ) : void
optGrepify_Click ( object sender, EventArgs e ) : void
optGrepify_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
optIgnoreComments_Click ( object sender, EventArgs e ) : void
optIgnoreTest_Click ( object sender, EventArgs e ) : void
richExclusions_TextChanged ( object sender, EventArgs e ) : void
richNCCNews_LinkClicked ( object sender, LinkClickedEventArgs e ) : void
richNCCNews_TextChanged ( object sender, EventArgs e ) : void
richNotes_SelectionChanged ( object sender, EventArgs e ) : void
richNotes_TextChanged ( object sender, EventArgs e ) : void

Flag we have pending changes that need saving

tabForms_Deselected ( object sender, TabControlEventArgs e ) : void
tabForms_MouseDown ( object sender, MouseEventArgs e ) : void
tabForms_Selected ( object sender, TabControlEventArgs e ) : void
tabForms_SelectedIndexChanged ( object sender, EventArgs e ) : void
tabForms_Selecting ( object sender, TabControlCancelEventArgs e ) : void
timerSave_Tick ( object sender, EventArgs e ) : void

toolStripButton1_Click ( object sender, EventArgs e ) : void
toolTop_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtCodePath_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtCodePath_TextChanged ( object sender, EventArgs e ) : void

Code path combo text box changing event handler

txtExt_TextChanged ( object sender, EventArgs e ) : void
txtSearch_Click ( object sender, EventArgs e ) : void
txtSearch_KeyPress ( object sender, KeyPressEventArgs e ) : void

This catches someone pressing enter to start a search in the search text box

Method Details

DoSearchFromCode() public method

This is called by the frmCodeView class to initiate a search from outside
public DoSearchFromCode ( string strText ) : void
strText string
return void

SaveExtensions() public method

public SaveExtensions ( ) : void
return void

SendToNotes() public method

public SendToNotes ( String strNote ) : void
strNote String
return void

frmMain() public method

Constructor
public frmMain ( ) : System
return System

Property Details

scmMine public_oe property

public SourceCodeMarkUp,Win.CodeNavi scmMine
return Win.CodeNavi.SourceCodeMarkUp