public void Initialize()
        {
            Regkey reg = new Regkey();

            reg.changeRegkey();

            if (DirectionSelect == "homeward")
            {
                SetHomewardSemanticLinks();
            }
            else if (DirectionSelect == "outward")
            {
                SetOutwardSemanticLinks();
            }
        }
예제 #2
0
        public void Initialize()
        {
            Regkey reg = new Regkey();

            reg.changeRegkey();

            SemanticLinks = SemanticLinkDao.OutwardSemanticLinks;
            _direction    = new TripDirection {
                Direction = "outward"
            };

            Uri = $"{AppDomain.CurrentDomain.BaseDirectory}Resources\\index.html";

            MapHost = new MapHost()
            {
                MapWindowViewModel = this
            };
        }