Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="_page">WorldclockPage</param>
 public WorldclockInfo(WorldclockPage _page)
 {
     CityRecordList = new ObservableCollection <CityRecord>();
     userLocations  = new LocationObservableCollection();
     page           = _page;
     LoadItemsList();
     TimezoneUtility.UpdateLocalTime();
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Gets WorldclockPage
        /// </summary>
        /// <returns>
        /// Return instance of WorldclockPage
        /// </returns>
        public static WorldclockPage GetInstance()
        {
            if (worldclockPage == null)
            {
                worldclockPage = new WorldclockPage();
            }

            return(worldclockPage);
        }