logo

Note window. More...

+ Inheritance diagram for NoteFly.FrmNote:

Public Member Functions

 FrmNote (Notes notes, Note note)
 Initializes a new instance of the FrmNote class. More...
 
void UpdateForm (bool contentset)
 Set some application wide note settings on this note (fonts, transparency, detect hyperlinks etc.) and do full syntax check on the note content again. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

string GetContentRTF [get]
 Gets the note content as rich text. More...
 

Private Member Functions

void SetFormTooltips ()
 Set all form tooltips if tooltips are enabled. More...
 
void btnHideNote_Click (object sender, EventArgs e)
 The user pressed the cross on the note, Hide the note. More...
 
void menuSharePluginClicked (object toolstripmenuitem, System.EventArgs e)
 Menu plugin clicked More...
 
void menuCopyContent_Click (object sender, EventArgs e)
 Copy note content to clipboard. More...
 
void menuCopyTitle_Click (object sender, EventArgs e)
 Copy note title to clipboard. More...
 
void CreateSkinsMenu (bool alwaysrecreate)
 Create the skin select menu. Recreate dropdownitems if the list of skins has a different numbered. More...
 
void CreatePbLock ()
 Create a PictureBox with lock picture. More...
 
void DestroyPbLock ()
 Removes the lock picture and free the memory of the picture. More...
 
void menuEditNote_Click (object sender, EventArgs e)
 Requested to edit this note. More...
 
void menuSendToEmail_Click (object sender, EventArgs e)
 E-mail an note. Start default mail client with subject and content, if possible. More...
 
void FrmNote_Activated (object sender, EventArgs e)
 Form got focus, remove transparency. More...
 
void FrmNote_Deactivate (object sender, EventArgs e)
 Form is not active anymore, make transparent if allowed. More...
 
void FrmNote_FormClosed (object sender, FormClosedEventArgs e)
 FrmNote is closed. More...
 
void FrmNote_FormClosing (object sender, FormClosingEventArgs e)
 FrmNote is closing More...
 
void menuHideNote_Click (object sender, EventArgs e)
 Requested to hide this note form. More...
 
void menuCopySelected_Click (object sender, EventArgs e)
 Copy the selected text in the rtbNote control More...
 
void menuFrmNoteOptions_Opening (object sender, CancelEventArgs e)
 Check if some text is selected. More...
 
void menuNoteSkins_skin_Click (object sender, EventArgs e)
 A new skin is selected for this note. More...
 
void menuLockNote_Click (object sender, EventArgs e)
 Lock the note and show a lock. More...
 
void menuRollUp_Click (object sender, EventArgs e)
 Requested to rollup or rolldown the note form. More...
 
void menuOnTop_Click (object sender, EventArgs e)
 Make a note on top (and save note) CheckOnClick is set to true. More...
 
void menuWordWrap_Click (object sender, EventArgs e)
 Toggle to wrap words in the note content. More...
 
void pbResizeGrip_MouseMove (object sender, MouseEventArgs e)
 Resize the note form because dragging. More...
 
void pbResizeGrip_MouseUp (object sender, MouseEventArgs e)
 Save resized note. More...
 
void pnlHead_MouseDown (object sender, MouseEventArgs e)
 The area in pnlHead is selected and dragged. More...
 
void pnlHead_MouseMove (object sender, MouseEventArgs e)
 The note is dragged with pnlHead. More...
 
void pnlHead_MouseUp (object sender, MouseEventArgs e)
 Stoped moving note, save position. More...
 
void rtbNote_LinkClicked (object sender, LinkClickedEventArgs e)
 Hyperlink clicked. More...
 
void SavePos_DoWork (object sender, DoWorkEventArgs e)
 Thread to save note settings. More...
 
void SetLockedNote ()
 Lock the note by disabling serval parts of the form. Set the menuLockNote contextmenu to display correctly. More...
 
void SetRollupNote ()
 Roll up the note, by setting the height of the form. Set the menuRollUp contextmenu to display correctly. More...
 
void SetWordwarpNote ()
 Set wordwarp of the note content. More...
 
void SetTopmostNote ()
 Set note form topmost More...
 
void menuSendToFile_Click (object sender, EventArgs e)
 Save the note to a file. More...
 
void menuSendTo_DropDownOpening (object sender, EventArgs e)
 Create plugin sendto menu's More...
 
void menuNoteSkins_DropDownOpening (object sender, EventArgs e)
 The skins dropdown menu is opened. More...
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Private Attributes

const int MINVISIBLESIZE = 5
 Constant for minimal visible More...
 
bool moving = false
 Is form moving. More...
 
Note note
 Reference to note object. More...
 
Notes notes
 Reference to notes object. More...
 
Point oldp
 The old position of the note. More...
 
PictureBox pbShowLock
 Lock icon picturebox More...
 
ToolTip tooltip
 The tooltip. More...
 
TransparentRichTextBox rtbNote
 TransparentRichTextBox rtbNote More...
 
System.Windows.Forms.Label lblNoteTitle
 Label lblTitle More...
 
System.Windows.Forms.Panel pnlHead
 Panel pnlHead More...
 
System.Windows.Forms.Button btnHideNote
 Button btnCloseNote More...
 
System.Windows.Forms.Panel pnlNote
 Panel pnlNote More...
 
System.Windows.Forms.ContextMenuStrip menuFrmNoteOptions
 ContextMenuStrip menuFrmNoteOptions More...
 
System.Windows.Forms.ToolStripMenuItem menuEditNote
 ToolStripMenuItem menuEditNote More...
 
System.Windows.Forms.ToolStripMenuItem menuNoteSkins
 ToolStripMenuItem menuNoteSkins More...
 
System.Windows.Forms.PictureBox pbResizeGrip
 PictureBox pbResizeGrip More...
 
System.Windows.Forms.ToolStripMenuItem menuOnTop
 ToolStripMenuItem menuOnTop More...
 
System.Windows.Forms.ToolStripMenuItem menuLockNote
 ToolStripMenuItem menuLockNote More...
 
System.Windows.Forms.ToolStripMenuItem menuHideNote
 ToolStripMenuItem menuHideNote More...
 
System.Windows.Forms.ToolStripMenuItem menuRollUp
 ToolStripMenuItem menuRollUp More...
 
System.ComponentModel.BackgroundWorker saveWorker
 BackgroundWorker SaveWorker More...
 
System.Windows.Forms.ToolStripMenuItem menuActions
 ToolStripMenuItem menuSendTo More...
 
System.Windows.Forms.ToolStripMenuItem menuSendToEmail
 ToolStripMenuItem menuSendToEmail More...
 
System.Windows.Forms.ToolStripMenuItem menuSendToTextfile
 ToolStripMenuItem menuSendToTextfile More...
 
System.Windows.Forms.ToolStripMenuItem menuCopy
 ToolStripMenuItem menuCopy More...
 
System.Windows.Forms.ToolStripMenuItem menuCopySelected
 ToolStripMenuItem menuCopySelected More...
 
System.Windows.Forms.ToolStripMenuItem menuCopyContent
 ToolStripMenuItem menuCopyContent More...
 
System.Windows.Forms.ToolStripMenuItem menuCopyTitle
 ToolStripMenuItem menuCopyTitle More...
 
System.Windows.Forms.ToolStripMenuItem menuWordWrap
 ToolStripMenuItem menuWordWrap More...
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 

Detailed Description

The Note form class

Constructor & Destructor Documentation

NoteFly.FrmNote.FrmNote ( Notes  notes,
Note  note 
)
Parameters
notesNotes class
noteNote data class.

Member Function Documentation

void NoteFly.FrmNote.btnHideNote_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.CreatePbLock ( )
private
void NoteFly.FrmNote.CreateSkinsMenu ( bool  alwaysrecreate)
private
Parameters
alwaysrecreateIf always recreate is true then all dropboxitems are always removed and added again.
void NoteFly.FrmNote.DestroyPbLock ( )
private
override void NoteFly.FrmNote.Dispose ( bool  disposing)
protected
Parameters
disposingTrue if managed resources should be disposed; otherwise, false.
void NoteFly.FrmNote.FrmNote_Activated ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.FrmNote_Deactivate ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.FrmNote_FormClosed ( object  sender,
FormClosedEventArgs  e 
)
private
Parameters
senderSender object
eFormClosedEvent arguments
void NoteFly.FrmNote.FrmNote_FormClosing ( object  sender,
FormClosingEventArgs  e 
)
private
Parameters
senderSender object
eFormClosingEvent arguments
void NoteFly.FrmNote.InitializeComponent ( )
private
void NoteFly.FrmNote.menuCopyContent_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuCopySelected_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuCopyTitle_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuEditNote_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuFrmNoteOptions_Opening ( object  sender,
CancelEventArgs  e 
)
private
Parameters
senderSender object
eCancel event arguments
void NoteFly.FrmNote.menuHideNote_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object.
eEvent arguments
void NoteFly.FrmNote.menuLockNote_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuNoteSkins_DropDownOpening ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuNoteSkins_skin_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuOnTop_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object.
eEvent arguments
void NoteFly.FrmNote.menuRollUp_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuSendTo_DropDownOpening ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent argument
void NoteFly.FrmNote.menuSendToEmail_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuSendToFile_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.menuSharePluginClicked ( object  toolstripmenuitem,
System.EventArgs  e 
)
private
Parameters
toolstripmenuitemThe menu item clicked
eEvent arguments
void NoteFly.FrmNote.menuWordWrap_Click ( object  sender,
EventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.pbResizeGrip_MouseMove ( object  sender,
MouseEventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.pbResizeGrip_MouseUp ( object  sender,
MouseEventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.pnlHead_MouseDown ( object  sender,
MouseEventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.pnlHead_MouseMove ( object  sender,
MouseEventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.pnlHead_MouseUp ( object  sender,
MouseEventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.rtbNote_LinkClicked ( object  sender,
LinkClickedEventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.SavePos_DoWork ( object  sender,
DoWorkEventArgs  e 
)
private
Parameters
senderSender object
eEvent arguments
void NoteFly.FrmNote.SetFormTooltips ( )
private
void NoteFly.FrmNote.SetLockedNote ( )
private
void NoteFly.FrmNote.SetRollupNote ( )
private
void NoteFly.FrmNote.SetTopmostNote ( )
private
void NoteFly.FrmNote.SetWordwarpNote ( )
private
void NoteFly.FrmNote.UpdateForm ( bool  contentset)
Parameters
contentsetBoolean if the note rtf content already set.

Member Data Documentation

System.Windows.Forms.Button NoteFly.FrmNote.btnHideNote
private
System.ComponentModel.IContainer NoteFly.FrmNote.components = null
private
System.Windows.Forms.Label NoteFly.FrmNote.lblNoteTitle
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuActions
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuCopy
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuCopyContent
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuCopySelected
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuCopyTitle
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuEditNote
private
System.Windows.Forms.ContextMenuStrip NoteFly.FrmNote.menuFrmNoteOptions
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuHideNote
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuLockNote
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuNoteSkins
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuOnTop
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuRollUp
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuSendToEmail
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuSendToTextfile
private
System.Windows.Forms.ToolStripMenuItem NoteFly.FrmNote.menuWordWrap
private
const int NoteFly.FrmNote.MINVISIBLESIZE = 5
private
bool NoteFly.FrmNote.moving = false
private
Note NoteFly.FrmNote.note
private
Notes NoteFly.FrmNote.notes
private
Point NoteFly.FrmNote.oldp
private
System.Windows.Forms.PictureBox NoteFly.FrmNote.pbResizeGrip
private
PictureBox NoteFly.FrmNote.pbShowLock
private
System.Windows.Forms.Panel NoteFly.FrmNote.pnlHead
private
System.Windows.Forms.Panel NoteFly.FrmNote.pnlNote
private
TransparentRichTextBox NoteFly.FrmNote.rtbNote
private
System.ComponentModel.BackgroundWorker NoteFly.FrmNote.saveWorker
private
ToolTip NoteFly.FrmNote.tooltip
private

Property Documentation

string NoteFly.FrmNote.GetContentRTF
get