Пример #1
0
 private void groupTasks_SelectedIndexChanged_1(object sender, EventArgs e)
 {
     linkTextLabel.Text          = string.Empty;
     documentationLinkLabel.Text = string.Empty;
     c = new ChecklistItem();
     c = d.GetSHEDTaskDescription(groupTasks.SelectedItem.ToString());
     descriptionTextBox.Text = c.description;
     linkTextLabel.Text      = c.documentation;
     if (c.documentation != string.Empty)
     {
         documentationLinkLabel.Text = "Documentation for task";
     }
 }
Пример #2
0
 private void taskList_SelectedIndexChanged_1(object sender, EventArgs e)
 {
     c = new ChecklistItem();
     c = d.GetATCTaskDescription(taskList.SelectedItem.ToString());
     descriptionTextBox.Text = c.description;
     if (c.documentation != string.Empty)
     {
         linkTextLabel.Text          = c.documentation;
         documentationLinkLabel.Text = "View documentation.";
     }
     else
     {
         documentationLinkLabel.Text = string.Empty;
     }
 }