public void Store(IDecoupledStorage storage, string parentSection, int index)
 {
     string section = parentSection + STR_DocView + index;
     storage.WriteString(section, STR_FileName, FileName);
     storage.WriteInt32(section, STR_SelectionActive, SelectionActive);
     storage.WriteInt32(section, STR_SelectionAnchor, SelectionAnchor);
     storage.WriteInt32(section, STR_TopLine, TopLine);
 }
 public void Store(IDecoupledStorage storage, int index)
 {
     string section = STR_SuperView + index.ToString();
     storage.WriteString(section, STR_Name, Name);
     storage.WriteString(section, STR_ActiveFile, ActiveFile);
     storage.WriteInt32(section, STR_DocViewCount, DocViews.Count);
     for (int i = 0; i < DocViews.Count; i++)
         DocViews[i].Store(storage, section, i);
 }