public override bool StorePanelContents()
 {
     for (int i = 0; i < fileTypesListBox.Items.Count; i++)
     {
         bool      newChecked = fileTypesListBox.GetItemChecked(i);
         ListEntry entry      = (ListEntry)fileTypesListBox.Items[i];
         if (entry.InitiallyChecked != newChecked)
         {
             if (newChecked)
             {
                 RegisterFiletypesCommand.RegisterToSharpDevelop(entry.Association);
             }
             else
             {
                 RegisterFiletypesCommand.UnRegisterFiletype(entry.Association.Extension);
             }
         }
     }
     return(true);
 }
 public ListEntry(FiletypeAssociation association)
 {
     this.Association      = association;
     this.InitiallyChecked = RegisterFiletypesCommand.IsRegisteredToSharpDevelop(association.Extension);
 }