internal ComputerPedViewExtended(Base parent, DetailedEntity entity, PageTabChanged onPageChangedCallback = null) : base(parent) { DetailedEntity = entity; if (onPageChangedCallback != null) { OnPageTabChanged += onPageChangedCallback; } InitializeLayout(); }
internal ComputerVehicleDetails(Base parent, DetailedEntity pedReport, ComputerVehicleQuickActionSelected quickActionCallback = null) : base(parent) { DetailedEntity = pedReport; InitializeLayout(); BindNeeded = true; if (quickActionCallback != null) { OnQuickActionSelected += quickActionCallback; } else { OnQuickActionSelected += OnQuickAction; } }
internal ComputerPedViewExtendedContainer(DetailedEntity entity) : base(entity.Entity.FullName, ComputerPedViewExtended.DefaultWidth, ComputerPedViewExtended.DefaultHeight) { Entity = entity; }
internal ComputerVehicleViewExtendedContainer(DetailedEntity entity) : base("Vehicle Details", ComputerVehicleViewExtended.DefaultWidth, ComputerVehicleViewExtended.DefaultHeight) { Entity = entity; }
public ComputerPedViewExtended(DetailedEntity report) : this(report.Entity) { this.Arrests = report.Arrests != null ? report.Arrests : new List <ArrestReport>(); this.TrafficCitations = report.TrafficCitations != null ? report.TrafficCitations : new List <TrafficCitation>(); }