C# Class DayViewUIExtension.DayViewUIExtensionCore

Inheritance: System.Windows.Forms.Panel, ITDLUIExtension
Afficher le fichier Open project: abstractspoon/ToDoList_Plugins

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnPaint ( System e ) : void
OnSizeChanged ( EventArgs e ) : void

Private Methods

Méthode 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 méthode

public CanDoAppCommand ( TDLUIExtension cmd, UInt32 dwExtra ) : bool
cmd TDLUIExtension
dwExtra System.UInt32
Résultat bool

DayViewUIExtensionCore() public méthode

public DayViewUIExtensionCore ( IntPtr hwndParent ) : System
hwndParent System.IntPtr
Résultat System

DoAppCommand() public méthode

public DoAppCommand ( TDLUIExtension cmd, UInt32 dwExtra ) : bool
cmd TDLUIExtension
dwExtra System.UInt32
Résultat bool

GetLabelEditRect() public méthode

public GetLabelEditRect ( Int32 &left, Int32 &top, Int32 &right, Int32 &bottom ) : bool
left System.Int32
top System.Int32
right System.Int32
bottom System.Int32
Résultat bool

HitTest() public méthode

public HitTest ( Int32 xPos, Int32 yPos ) : TDLUIExtension.HitResult
xPos System.Int32
yPos System.Int32
Résultat TDLUIExtension.HitResult

LoadPreferences() public méthode

public LoadPreferences ( TDLPreferences prefs, String key, bool appOnly ) : void
prefs TDLPreferences
key String
appOnly bool
Résultat void

OnPaint() protected méthode

protected OnPaint ( System e ) : void
e System
Résultat void

OnSizeChanged() protected méthode

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

PrepareNewTask() public méthode

public PrepareNewTask ( TDLTask &task ) : bool
task TDLTask
Résultat bool

ProcessMessage() public méthode

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
Résultat bool

SavePreferences() public méthode

public SavePreferences ( TDLPreferences prefs, String key ) : void
prefs TDLPreferences
key String
Résultat void

SelectTask() public méthode

public SelectTask ( UInt32 dwTaskID ) : bool
dwTaskID System.UInt32
Résultat bool

SelectTasks() public méthode

public SelectTasks ( UInt32 pdwTaskIDs ) : bool
pdwTaskIDs System.UInt32
Résultat bool

SetReadOnly() public méthode

public SetReadOnly ( bool bReadOnly ) : void
bReadOnly bool
Résultat void

SetUITheme() public méthode

public SetUITheme ( TDLTheme theme ) : void
theme TDLTheme
Résultat void

UpdateTasks() public méthode

public UpdateTasks ( TDLTaskList tasks, TDLUIExtension type, System attribs ) : void
tasks TDLTaskList
type TDLUIExtension
attribs System
Résultat void

WantEditUpdate() public méthode

public WantEditUpdate ( TDLUIExtension attrib ) : bool
attrib TDLUIExtension
Résultat bool

WantSortUpdate() public méthode

public WantSortUpdate ( TDLUIExtension attrib ) : bool
attrib TDLUIExtension
Résultat bool