C# Class StatsUIExtension.StatsUIExtensionCore

Inheritance: System.Windows.Controls.Grid, ITDLUIExtension
ファイルを表示 Open project: abstractspoon/ToDoList_Plugins

Public Methods

Method Description
CanDoAppCommand ( TDLUIExtension cmd, UInt32 dwExtra ) : bool
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
StatsUIExtensionCore ( ) : System
UpdateTasks ( TDLTaskList tasks, TDLUIExtension type, System attribs ) : void
WantEditUpdate ( TDLUIExtension attrib ) : bool
WantSortUpdate ( TDLUIExtension attrib ) : bool

Private Methods

Method Description
CreateChart ( ) : void
InitializeComponent ( ) : void
PopulateChart ( ) : void

Method Details

CanDoAppCommand() public method

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

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

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

StatsUIExtensionCore() public method

public StatsUIExtensionCore ( ) : System
return System

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