C# Class ToDo.Ui.ToDoListView

Inheritance: System.Windows.Forms.Form, IToDoListView
显示文件 Open project: jthigpen/winforms-mvp Class Usage Examples

Public Methods

Method Description
AddTaskToList ( Task task ) : void
DisplayView ( ) : void
RemoveTaskFromList ( Task task ) : void
ToDoListView ( ) : System
ToDoListView ( ITaskList taskList ) : System

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.

WireUpEvents ( ) : void
newTaskTextBox_KeyPress ( object sender, KeyPressEventArgs e ) : void
tasksListView_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

Method Details

AddTaskToList() public method

public AddTaskToList ( Task task ) : void
task ToDo.Core.Task
return void

DisplayView() public method

public DisplayView ( ) : void
return void

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

RemoveTaskFromList() public method

public RemoveTaskFromList ( Task task ) : void
task ToDo.Core.Task
return void

ToDoListView() public method

public ToDoListView ( ) : System
return System

ToDoListView() public method

public ToDoListView ( ITaskList taskList ) : System
taskList ITaskList
return System