C# Class lw_common.ui.note_ctrl

Show file Open project: jtorjo/logwizard Class Usage Examples

Public Properties

Property Type Description
on_note_selected on_note_selected_func

Private Properties

Property Type Description
InitializeComponent void
add_color_for_author void
add_note note_item
add_note note_item
add_note_header note_item
add_note_to_ui void
adjust_guids_before_merge Tuple,List>
author_color Color
curNote_Enter void
curNote_KeyDown void
curNote_KeyUp void
curNote_PreviewKeyDown void
find_cur_line_id string
find_note_id_above_selection string
load_settings_file Tuple,List>
log_notes_sorted_idx void
note_ctrl_Load void
notesCtrl_Enter void
notesCtrl_KeyDown void
notesCtrl_Leave void
notesCtrl_PreviewKeyDown void
notesCtrl_SelectedIndexChanged void
readd_everything void
refresh_note void
refresh_note_indexes void
save void
saveTimer_Tick void
selectColor_Click void
set_current_line_impl void
showDeletedLines_CheckedChanged void
sync_to_views void
toggle_del_note void
ui_find_last_note_from_cur_user note_item
update_author_colors void
update_cur_note_controls void

Public Methods

Method Description
export_notes ( ) : export_text
focus_to_edit ( ) : void
load ( string file_name ) : void
merge ( string other_file ) : void
note_ctrl ( ) : System
refresh_notes ( ) : void
save_to ( string file_name ) : void
set_author ( string author_name, string author_initials, Color notes_color ) : void
set_current_line ( line l ) : void
undo ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

add_color_for_author ( string author_name, Color default_color ) : void
add_note ( line l, note n, string note_id, string reply_to_note_id, bool deleted, DateTime utc_added ) : note_item
add_note ( note n, string note_id, string reply_to_note_id, bool deleted, DateTime utc_added ) : note_item
add_note_header ( string line_id, string note_id, bool deleted, DateTime utc_added ) : note_item
add_note_to_ui ( note_item last_note ) : void
adjust_guids_before_merge ( line>.Tuple merge_from ) : Tuple,List>
author_color ( string name ) : Color
curNote_Enter ( object sender, EventArgs e ) : void
curNote_KeyDown ( object sender, KeyEventArgs e ) : void
curNote_KeyUp ( object sender, KeyEventArgs e ) : void
curNote_PreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void
find_cur_line_id ( ) : string
find_note_id_above_selection ( ) : string
load_settings_file ( note_ctrl self, string file_name ) : Tuple,List>
log_notes_sorted_idx ( int idx, note_item n ) : void
note_ctrl_Load ( object sender, EventArgs e ) : void
notesCtrl_Enter ( object sender, EventArgs e ) : void
notesCtrl_KeyDown ( object sender, KeyEventArgs e ) : void
notesCtrl_Leave ( object sender, EventArgs e ) : void
notesCtrl_PreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void
notesCtrl_SelectedIndexChanged ( object sender, EventArgs e ) : void
readd_everything ( ) : void
refresh_note ( note_item i ) : void
refresh_note_indexes ( ) : void
save ( ) : void
saveTimer_Tick ( object sender, EventArgs e ) : void
selectColor_Click ( object sender, EventArgs e ) : void
set_current_line_impl ( line l ) : void
showDeletedLines_CheckedChanged ( object sender, EventArgs e ) : void
sync_to_views ( ) : void
toggle_del_note ( string note_id ) : void
ui_find_last_note_from_cur_user ( string line_id ) : note_item
update_author_colors ( ) : void
update_cur_note_controls ( ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

export_notes() public method

public export_notes ( ) : export_text
return export_text

focus_to_edit() public method

public focus_to_edit ( ) : void
return void

load() public method

public load ( string file_name ) : void
file_name string
return void

merge() public method

public merge ( string other_file ) : void
other_file string
return void

note_ctrl() public method

public note_ctrl ( ) : System
return System

refresh_notes() public method

public refresh_notes ( ) : void
return void

save_to() public method

public save_to ( string file_name ) : void
file_name string
return void

set_author() public method

public set_author ( string author_name, string author_initials, Color notes_color ) : void
author_name string
author_initials string
notes_color Color
return void

set_current_line() public method

public set_current_line ( line l ) : void
l line
return void

undo() public method

public undo ( ) : void
return void

Property Details

on_note_selected public property

public on_note_selected_func on_note_selected
return on_note_selected_func