Beispiel #1
0
 public override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
 {
     EventLabel(frm, parent, ref location, "HF:", HF);
     if (Site != null)
     {
         EventLabel(frm, parent, ref location, "Site:", Site);
     }
     if (Subregion != null)
     {
         EventLabel(frm, parent, ref location, "Region:", Subregion);
     }
     if (FeatureLayerID != null)
     {
         EventLabel(frm, parent, ref location, "Layer:", FeatureLayerID == -1 ? "" : FeatureLayerID.ToString());
     }
 }
Beispiel #2
0
 protected override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
 {
     EventLabel(frm, parent, ref location, "HF:", HF);
     EventLabel(frm, parent, ref location, "Ghost:", Ghost);
     EventLabel(frm, parent, ref location, "Site:", Site);
     EventLabel(frm, parent, ref location, "Region:", Subregion);
     EventLabel(frm, parent, ref location, "Layer:", FeatureLayerID == -1 ? "" : FeatureLayerID.ToString());
 }
 protected override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
 {
     EventLabel(frm, parent, ref location, "HF:", GroupHF);
     if (Escape)
     {
         EventLabel(frm, parent, ref location, "Escaped from", "");
         EventLabel(frm, parent, ref location, "Layer:", FeatureLayerID == -1 ? "" : FeatureLayerID.ToString());
     }
     else if (Return)
     {
         EventLabel(frm, parent, ref location, "Returned", "");
         EventLabel(frm, parent, ref location, "Site:", Site);
         EventLabel(frm, parent, ref location, "Coords:", new Coordinate(Coords));
     }
     else if (Subregion != null)
     {
         EventLabel(frm, parent, ref location, "Region:", Subregion);
     }
     else if (FeatureLayerID != -1)
     {
         if (FeatureLayerID != null)
         {
             EventLabel(frm, parent, ref location, "Feature Layer:", FeatureLayerID.Value.ToString());
         }
     }
 }
Beispiel #4
0
 public override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
 {
     EventLabel(frm, parent, ref location, "Abuser:"******"Site:", Site);
     EventLabel(frm, parent, ref location, "Region:", Subregion);
     EventLabel(frm, parent, ref location, "Layer:", FeatureLayerID == -1 ? "" : FeatureLayerID.ToString());
     EventLabel(frm, parent, ref location, "Coords:", new Coordinate(Coords));
 }
Beispiel #5
0
        public override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
        {
            foreach (HistoricalFigure hf in Group1HF)
            {
                EventLabel(frm, parent, ref location, "Group 1:", hf);
            }
            foreach (HistoricalFigure hf in Group2HF)
            {
                EventLabel(frm, parent, ref location, "Group 2:", hf);
            }

            EventLabel(frm, parent, ref location, "Site:", Site);
            EventLabel(frm, parent, ref location, "Region:", Subregion);
            EventLabel(frm, parent, ref location, "Layer:", FeatureLayerID == -1 ? "" : FeatureLayerID.ToString());
        }
 protected override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
 {
     EventLabel(frm, parent, ref location, "HF:", GroupHF);
     if (Site != null)
     {
         EventLabel(frm, parent, ref location, "Site:", Site);
     }
     if (Subregion != null)
     {
         EventLabel(frm, parent, ref location, "Region:", Subregion);
     }
     if (FeatureLayerID != null && FeatureLayerID.Value != -1)
     {
         EventLabel(frm, parent, ref location, "Feature Layer:", FeatureLayerID == -1 ? "" : FeatureLayerID.ToString());
     }
     if (Coords != Point.Empty)
     {
         EventLabel(frm, parent, ref location, "Coords:", new Coordinate(Coords));
     }
 }
Beispiel #7
0
 public override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
 {
     EventLabel(frm, parent, ref location, "Devourer:", Devourer);
     EventLabel(frm, parent, ref location, "Site:", Site);
     EventLabel(frm, parent, ref location, "Region:", Subregion);
     EventLabel(frm, parent, ref location, "Layer:", FeatureLayerID == -1 ? "" : FeatureLayerID.ToString());
 }
 protected override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
 {
     EventLabel(frm, parent, ref location, "HF:", HF);
     EventLabel(frm, parent, ref location, "Situation:", Situations[Situation]);
     EventLabel(frm, parent, ref location, "Reason:", Reasons[Reason]);
     EventLabel(frm, parent, ref location, "Site:", Site);
     EventLabel(frm, parent, ref location, "Region:", Subregion);
     EventLabel(frm, parent, ref location, "Layer:", FeatureLayerID == -1 ? "" : FeatureLayerID.ToString());
     EventLabel(frm, parent, ref location, "Coords:", new Coordinate(Coords));
 }
Beispiel #9
0
 protected override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
 {
     EventLabel(frm, parent, ref location, "HF:", HF);
     EventLabel(frm, parent, ref location, "State:", BodyState);
     EventLabel(frm, parent, ref location, "Site:", Site);
     if (Structure != null)
     {
         EventLabel(frm, parent, ref location, "Structure:", Structure);
     }
     else
     {
         EventLabel(frm, parent, ref location, "Building ID:", BuildingID.ToString());
     }
     EventLabel(frm, parent, ref location, "Region:", Subregion);
     EventLabel(frm, parent, ref location, "Layer:", FeatureLayerID == -1 ? "" : FeatureLayerID.ToString());
     EventLabel(frm, parent, ref location, "Coords:", new Coordinate(Coords));
 }