예제 #1
0
 public AnnoList()
     : base()
 {
     Source = new AnnoSource();
     Scheme = new AnnoScheme();
     Meta   = new AnnoMeta();
 }
예제 #2
0
파일: AnnoList.cs 프로젝트: wikieden/nova
 public AnnoList()
     : base()
 {
     Source = new AnnoSource();
     Scheme = new AnnoScheme();
     Meta   = new AnnoMeta();
     ID     = GetRandomInt(1, Int32.MaxValue);
 }
예제 #3
0
 private void exportSelectedAnnoAs()
 {
     if (AnnoTierStatic.Selected.AnnoList != null)
     {
         string directory = AnnoTierStatic.Selected.AnnoList.Source.File.Directory;
         string path      = FileTools.SaveFileDialog(AnnoTierStatic.Selected.AnnoList.Source.File.Name, ".annotation", "Annotation(*.annotation)|*.annotation", AnnoTierStatic.Selected.AnnoList.Source.File.Directory);
         if (path != null)
         {
             AnnoSource source = AnnoTierStatic.Selected.AnnoList.Source;
             AnnoTierStatic.Selected.AnnoList.Source.File.Path = path;
             AnnoTierStatic.Selected.AnnoList.Save(null, true);
             AnnoTierStatic.Selected.AnnoList.Source = source;
         }
     }
 }