Ejemplo n.º 1
0
        /// <summary>
        /// Creates a wrapper report instance for the given report COM object.
        /// </summary>
        /// <param name="iLocReport">Report COM object.</param>
        /// <returns>Report wrapper.</returns>
        private LocationReport CreateReport(ILocationReport iLocReport)
        {
            LocationReport locReport = CreateReport();

            locReport.InitializeReport(iLocReport);
            return(locReport);
        }
Ejemplo n.º 2
0
        int ILocationEvents.OnLocationChanged(ref Guid reportType, ILocationReport pLocationReport)
        {
            if (LocationChanged != null && reportType.Equals(_reportGuid))
            {
                LocationReport report = CreateReport(pLocationReport);
                LocationChanged(this, report);
            }

            return(0);
        }
Ejemplo n.º 3
0
 public void SetReport(LocationReport report)
 {
     _defaultLocation.SetReport(ref _reportGuid, report.InnerObject);
 }