C# Class DarkRoomW.frmMain

Exibir arquivo Open project: jjafuller/DarkRoomW Class Usage Examples

Public Properties

Property Type Description
FileName string
ScrollAction int

Public Methods

Method Description
Find ( ) : void
Find ( string pSearchString, RichTextBoxFinds pFindOptions ) : void
HandleAdditionalScreens ( int mode ) : void
ReScale ( ) : void
Statistics ( int stat ) : int
Sync ( ) : void
UpdateEditMenu ( ) : void
frmMain ( ) : System
getModified ( ) : Boolean
setModified ( Boolean modified ) : void

Private Methods

Method Description
CacheFile ( ) : bool
ConfirmOverwrite ( ) : DialogResult
Copy ( ) : void
Cut ( ) : void
Init ( ) : void
OpenFile ( ) : void
OpenFile ( string file ) : void
Paste ( ) : void
RecallCache ( ) : string
RecallCacheFile ( ) : string
SaveFile ( ) : bool
SaveFile ( string fName ) : bool
ToggleState ( ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
btnLineDown_MouseDown ( object sender, MouseEventArgs e ) : void
btnLineDown_MouseUp ( object sender, MouseEventArgs e ) : void
btnLineUp_MouseDown ( object sender, MouseEventArgs e ) : void
btnLineUp_MouseUp ( object sender, MouseEventArgs e ) : void
btnPageDown_Click ( object sender, EventArgs e ) : void
btnPageUp_Click ( object sender, EventArgs e ) : void
checkForUpdatesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
clearToolStripMenuItem_Click ( object sender, EventArgs e ) : void
copyToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
copyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cutToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
cutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
darkRoomWebsiteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
findNextToolStripMenuItem_Click ( object sender, EventArgs e ) : void
findToolStripMenuItem_Click ( object sender, EventArgs e ) : void
frmMain_FormClosing ( object sender, FormClosingEventArgs e ) : void
frmMain_KeyPress ( object sender, KeyPressEventArgs e ) : void
frmMain_Load ( object sender, EventArgs e ) : void
frmMain_Resize ( object sender, EventArgs e ) : void
fullscreenToolStripMenuItem_Click ( object sender, EventArgs e ) : void
getWin32Color ( Color color, int shift ) : int
newToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pageSetupToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pasteToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
pasteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
preferencesToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
preferencesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
printToolStripMenuItem_Click ( object sender, EventArgs e ) : void
prtDoc_PrintPage ( object sender, System e ) : void
redoToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
redoToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectAllToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
selectAllToolStripMenuItem_Click ( object sender, EventArgs e ) : void
statisticsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
tmrAutosave_Tick ( object sender, EventArgs e ) : void
tmrScroll_Tick ( object sender, EventArgs e ) : void
txtPage_DragDrop ( object sender, System e ) : void
txtPage_GotFocus ( object sender, EventArgs e ) : void
txtPage_KeyDown ( object sender, KeyEventArgs e ) : void
txtPage_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtPage_LostFocus ( object sender, EventArgs e ) : void
txtPage_MouseWheel ( object sender, MouseEventArgs e ) : void
txtPage_TextChanged ( object sender, EventArgs e ) : void
undoToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
undoToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

Find() public method

public Find ( ) : void
return void

Find() public method

public Find ( string pSearchString, RichTextBoxFinds pFindOptions ) : void
pSearchString string
pFindOptions RichTextBoxFinds
return void

HandleAdditionalScreens() public method

public HandleAdditionalScreens ( int mode ) : void
mode int
return void

ReScale() public method

public ReScale ( ) : void
return void

Statistics() public method

public Statistics ( int stat ) : int
stat int
return int

Sync() public method

public Sync ( ) : void
return void

UpdateEditMenu() public method

public UpdateEditMenu ( ) : void
return void

frmMain() public method

public frmMain ( ) : System
return System

getModified() public method

public getModified ( ) : Boolean
return Boolean

setModified() public method

public setModified ( Boolean modified ) : void
modified Boolean
return void

Property Details

FileName public_oe property

public string FileName
return string

ScrollAction public_oe property

public int ScrollAction
return int