示例#1
0
        private void OpenTaskDetailWindow(EncodingTask t)
        {
            TaskDetail taskDetail = new TaskDetail
            {
                DataContext = t
            };

            taskDetail.Show();
        }
示例#2
0
        private void ListBoxItem_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            EncodingTask source = (EncodingTask)((ListBoxItem)sender).Content;

            OpenTaskDetailWindow(source);
        }