Exemple #1
0
        private void menuNewUserStory_Click(object sender, RoutedEventArgs e)
        {
            var newTask = new DisplayTask("User Story")
            {
                Title = "New User Story"
            };
            var detailWindow = new WorkItemDetails(newTask);

            detailWindow.Show();
        }
Exemple #2
0
        private void btnBugNewTask_Click(object sender, RoutedEventArgs e)
        {
            var newTask = new DisplayTask("Task")
            {
                Title = "New Task"
            };
            var detailWindow = new WorkItemDetails(newTask);

            detailWindow.Show();
        }
        private async void Grid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            if (e.ClickCount > 1)
            {
                //double click
                var selectedTask = DataContext as DisplayTask;

                var DetailWindow = new WorkItemDetails(selectedTask);
                await Task.Delay(100);

                DetailWindow.Show();
            }
        }