logo

Note data class, holds setting note. More...

Public Member Functions

 Note (Notes notes, string filename)
 Initializes a new instance of the Note class. Completly new note. More...
 
void BringNoteToFront ()
 Display this frmnote to the foreground. More...
 
void CreateForm ()
 Create a new frmNote with this note. Visible is set to true. More...
 
void DestroyForm ()
 Cleanup frmNote resources. The note is made not visible to user and form isn't required anymore. More...
 
string GetContent ()
 Gets the content of the note from the file. More...
 
void UpdateNoteForm ()
 Update the form. More...
 

Properties

string Filename [get, set]
 Gets or sets the filename of this note. More...
 
int Height [get, set]
 Gets or sets the height of the note. More...
 
bool Locked [get, set]
 Gets or sets a value indicating whether the note is locked. More...
 
bool Ontop [get, set]
 Gets or sets a value indicating whether the note displayed ontop of all windows. More...
 
bool RolledUp [get, set]
 Gets or sets a value indicating whether the note rolled up. More...
 
bool Wordwarp [get, set]
 Gets or sets a value indicating whether the note content words are warped. More...
 
int SkinNr [get, set]
 Gets or sets the note skin. More...
 
string Tempcontent [get, set]
 Gets or sets temporary content note content store. More...
 
string Title [get, set]
 Gets or sets the note title. More...
 
bool Visible [get, set]
 Gets or sets a value indicating whether the note is visible. More...
 
int Width [get, set]
 Gets or sets the width of the note. More...
 
int X [get, set]
 Gets or sets the X position of the note on the screen. More...
 
int Y [get, set]
 Gets or sets the Y position of the note on the screen. More...
 

Private Attributes

string filename
 The filename of this note. More...
 
FrmNote frmnote
 The form of this note. More...
 
int height
 The height of the note. More...
 
bool locked
 Is the note locked. More...
 
Notes notes
 Reference to notes class. More...
 
bool ontop
 Is the note displayed ontop of all windows. More...
 
bool rolledUp
 Is the note rolled up. More...
 
bool wordwarp
 Is the note content word warped. More...
 
int skinNr
 The note skin. More...
 
string tempcontent
 Temporary content. More...
 
string title
 The note title. More...
 
bool visible
 Visibility note. More...
 
int width
 The width of the note. More...
 
int x
 The X position of the note. More...
 
int y
 The Y position of the note. More...
 

Detailed Description

Constructor & Destructor Documentation

NoteFly.Note.Note ( Notes  notes,
string  filename 
)
Parameters
notesReference to notes.
filenameThe note filename.

Member Function Documentation

void NoteFly.Note.BringNoteToFront ( )
void NoteFly.Note.CreateForm ( )
void NoteFly.Note.DestroyForm ( )
string NoteFly.Note.GetContent ( )
Returns
The rich text formatted note content
void NoteFly.Note.UpdateNoteForm ( )

Member Data Documentation

string NoteFly.Note.filename
private
FrmNote NoteFly.Note.frmnote
private
int NoteFly.Note.height
private
bool NoteFly.Note.locked
private
Notes NoteFly.Note.notes
private
bool NoteFly.Note.ontop
private
bool NoteFly.Note.rolledUp
private
int NoteFly.Note.skinNr
private
string NoteFly.Note.tempcontent
private
string NoteFly.Note.title
private
bool NoteFly.Note.visible
private
int NoteFly.Note.width
private
bool NoteFly.Note.wordwarp
private
int NoteFly.Note.x
private
int NoteFly.Note.y
private

Property Documentation

string NoteFly.Note.Filename
getset
int NoteFly.Note.Height
getset
bool NoteFly.Note.Locked
getset
bool NoteFly.Note.Ontop
getset
bool NoteFly.Note.RolledUp
getset
int NoteFly.Note.SkinNr
getset
string NoteFly.Note.Tempcontent
getset
string NoteFly.Note.Title
getset
bool NoteFly.Note.Visible
getset
int NoteFly.Note.Width
getset
bool NoteFly.Note.Wordwarp
getset
int NoteFly.Note.X
getset
int NoteFly.Note.Y
getset