Esempio n. 1
0
 void SetAsDefaultButtonClick(object sender, EventArgs e)
 {
     if (defaultBindingIndex >= 0)
     {
         programListBox.Items[defaultBindingIndex] = new ListEntry(
             ((ListEntry)programListBox.Items[defaultBindingIndex]).desc,
             false);
     }
     defaultBindingIndex = programListBox.SelectedIndex;
     programListBox.Items[defaultBindingIndex] = new ListEntry(
         ((ListEntry)programListBox.Items[defaultBindingIndex]).desc,
         true);
     DisplayBindingService.SetDefaultCodon(fileExtension, SelectedBinding);
 }