private void TasksList_OnMouseDoubleClick(object sender, MouseButtonEventArgs e) { var selected_index = TasksList.SelectedIndex; var view = new TaskDetails(tasksDict[selected_index], _vm); view.Show(); }
private void btnDetail_Click(object sender, System.EventArgs e) { TaskDetails details = new TaskDetails(TaskId); details.Show(); }