C# Class DayViewUIExtension.DayViewUIExtensionCore

Inheritance: System.Windows.Forms.Panel, ITDLUIExtension
Mostra file Open project: abstractspoon/ToDoList_Plugins

Public Methods

Method Description
CanDoAppCommand ( TDLUIExtension cmd, UInt32 dwExtra ) : bool
DayViewUIExtensionCore ( IntPtr hwndParent ) : System
DoAppCommand ( TDLUIExtension cmd, UInt32 dwExtra ) : bool
GetLabelEditRect ( Int32 &left, Int32 &top, Int32 &right, Int32 &bottom ) : bool
HitTest ( Int32 xPos, Int32 yPos ) : TDLUIExtension.HitResult
LoadPreferences ( TDLPreferences prefs, String key, bool appOnly ) : void
PrepareNewTask ( TDLTask &task ) : bool
ProcessMessage ( IntPtr hwnd, UInt32 message, UInt32 wParam, UInt32 lParam, UInt32 time, Int32 xPos, Int32 yPos ) : bool
SavePreferences ( TDLPreferences prefs, String key ) : void
SelectTask ( UInt32 dwTaskID ) : bool
SelectTasks ( UInt32 pdwTaskIDs ) : bool
SetReadOnly ( bool bReadOnly ) : void
SetUITheme ( TDLTheme theme ) : void
UpdateTasks ( TDLTaskList tasks, TDLUIExtension type, System attribs ) : void
WantEditUpdate ( TDLUIExtension attrib ) : bool
WantSortUpdate ( TDLUIExtension attrib ) : bool

Protected Methods

Method Description
OnPaint ( System e ) : void
OnSizeChanged ( EventArgs e ) : void

Private Methods

Method Description
CreateDayView ( ) : void
InitializeComponent ( ) : void
IsItemWithinRange ( CalendarItem item, System.DateTime startDate, System.DateTime endDate ) : bool
OnDayViewAppointmentChanged ( object sender, Calendar args ) : void
OnDayViewNewAppointment ( object sender, Calendar args ) : void
OnDayViewResolveAppointments ( object sender, Calendar args ) : void
OnDayViewSelectionChanged ( object sender, Calendar args ) : void
ProcessTaskUpdate ( TDLTask task, TDLUIExtension type, System attribs ) : bool

Method Details

CanDoAppCommand() public method

public CanDoAppCommand ( TDLUIExtension cmd, UInt32 dwExtra ) : bool
cmd TDLUIExtension
dwExtra System.UInt32
return bool

DayViewUIExtensionCore() public method

public DayViewUIExtensionCore ( IntPtr hwndParent ) : System
hwndParent System.IntPtr
return System

DoAppCommand() public method

public DoAppCommand ( TDLUIExtension cmd, UInt32 dwExtra ) : bool
cmd TDLUIExtension
dwExtra System.UInt32
return bool

GetLabelEditRect() public method

public GetLabelEditRect ( Int32 &left, Int32 &top, Int32 &right, Int32 &bottom ) : bool
left System.Int32
top System.Int32
right System.Int32
bottom System.Int32
return bool

HitTest() public method

public HitTest ( Int32 xPos, Int32 yPos ) : TDLUIExtension.HitResult
xPos System.Int32
yPos System.Int32
return TDLUIExtension.HitResult

LoadPreferences() public method

public LoadPreferences ( TDLPreferences prefs, String key, bool appOnly ) : void
prefs TDLPreferences
key String
appOnly bool
return void

OnPaint() protected method

protected OnPaint ( System e ) : void
e System
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void

PrepareNewTask() public method

public PrepareNewTask ( TDLTask &task ) : bool
task TDLTask
return bool

ProcessMessage() public method

public ProcessMessage ( IntPtr hwnd, UInt32 message, UInt32 wParam, UInt32 lParam, UInt32 time, Int32 xPos, Int32 yPos ) : bool
hwnd System.IntPtr
message System.UInt32
wParam System.UInt32
lParam System.UInt32
time System.UInt32
xPos System.Int32
yPos System.Int32
return bool

SavePreferences() public method

public SavePreferences ( TDLPreferences prefs, String key ) : void
prefs TDLPreferences
key String
return void

SelectTask() public method

public SelectTask ( UInt32 dwTaskID ) : bool
dwTaskID System.UInt32
return bool

SelectTasks() public method

public SelectTasks ( UInt32 pdwTaskIDs ) : bool
pdwTaskIDs System.UInt32
return bool

SetReadOnly() public method

public SetReadOnly ( bool bReadOnly ) : void
bReadOnly bool
return void

SetUITheme() public method

public SetUITheme ( TDLTheme theme ) : void
theme TDLTheme
return void

UpdateTasks() public method

public UpdateTasks ( TDLTaskList tasks, TDLUIExtension type, System attribs ) : void
tasks TDLTaskList
type TDLUIExtension
attribs System
return void

WantEditUpdate() public method

public WantEditUpdate ( TDLUIExtension attrib ) : bool
attrib TDLUIExtension
return bool

WantSortUpdate() public method

public WantSortUpdate ( TDLUIExtension attrib ) : bool
attrib TDLUIExtension
return bool