Example #1
0
 public AnnotationContainer(Point loc, Size siz, string name)
 {
     annotationContainerPen.DashPattern = new float[] { 3, 2 };
     Location = loc;
     Size     = siz;
     for (int i = 5; i < Size.Height; i = i + 24)
     {
         AnnotationContainerSlot h = new AnnotationContainerSlot();
         h.Location = new Point(5, i);
         h.resident = null;
         slots.Add(h);
     }
     area = name;
 }
Example #2
0
 public AnnotationContainer(Point loc, Size siz, string name)
 {
     annotationContainerPen.DashPattern = new float[] { 3, 2 };
     Location = loc;
     Size = siz;
     for (int i = 5; i < Size.Height; i = i + 24)
     {
         AnnotationContainerSlot h = new AnnotationContainerSlot();
         h.Location = new Point(5, i);
         h.resident = null;
         slots.Add(h);
     }
     area = name;
 }