private void viewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (pickWorkItemsControl.SelectedWorkItems().Count > 0)
     {
         var workItem     = pickWorkItemsControl.SelectedWorkItems()[0];
         var formWorkItem = new FormWorkItem(workItem);
         formWorkItem.ShowDialog(this);
     }
     else
     {
         MessageBox.Show(@"Please select a work item to view", @"No Work Item Selected", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
        private void viewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormWorkItem formWorkItem = new FormWorkItem(_workingItem.WorkItem);

            formWorkItem.Show();
        }
Exemple #3
0
        private void buttonViewWorkItem_Click(object sender, EventArgs e)
        {
            var formWorkItem = new FormWorkItem(_workingItem.WorkItem);

            formWorkItem.Show();
        }