Exemple #1
0
 public Caption(List <MarkSb> marksSB)
 {
     _db             = HostApplicationServices.WorkingDatabase;
     _marksSB        = marksSB;
     _captionLayer   = Caption.GetLayerForMark(_db);
     _idTextstylePik = DbExtensions.GetTextStylePIK(_db);
 }
Exemple #2
0
 public void CaptionPanels()
 {
     _captionLayer = Caption.GetLayerForMark(_db);
     foreach (MarkSb markSb in _marksSB)
     {
         if (HostApplicationServices.Current.UserBreak())
         {
             throw new Exception("Отменено пользователем.");
         }
         AddMarkToPanelBtr(markSb.MarkSbClean, markSb.IdBtr);
         foreach (MarkAr markAr in markSb.MarksAR)
         {
             AddMarkToPanelBtr(markAr.MarkARPanelFullName, markAr.IdBtrAr);
         }
     }
 }
Exemple #3
0
 public Caption(Database db)
 {
     _db             = db;
     _captionLayer   = Caption.GetLayerForMark(db);
     _idTextstylePik = DbExtensions.GetTextStylePIK(_db);
 }