예제 #1
0
		protected void PopulateTable()
		{
			this._tableSource = new Tasky.AL.TaskTableSource(BL.Managers.TaskManager.GetTasks());
			this._tableSource.TaskDeleted += (object sender, TaskClickedEventArgs e) => { this.DeleteTaskRow(e.Task.ID); };
			this._tableSource.TaskClicked += (object sender, TaskClickedEventArgs e) => { this.ShowTaskDetails(e.Task); };
			this.TableView.Source = this._tableSource;					
		}
예제 #2
0
 protected void PopulateTable()
 {
     this._tableSource              = new Tasky.AL.TaskTableSource(BL.Managers.TaskManager.GetTasks());
     this._tableSource.TaskDeleted += (object sender, TaskClickedEventArgs e) => { this.DeleteTaskRow(e.Task.ID); };
     this._tableSource.TaskClicked += (object sender, TaskClickedEventArgs e) => { this.ShowTaskDetails(e.Task); };
     this.TableView.Source          = this._tableSource;
 }