예제 #1
0
        private void CreateViewAsOverlay(System.Type view, object data)
        {
            AbstractView overlay = CreateView(_assetLookup[view], ViewDisplayMode.Overlay) as AbstractView;

            _showingOverlays.Add(overlay);
            overlay._Show(data);
        }
예제 #2
0
        private void CreateViewAsLocation(System.Type view, object data)
        {
            // remove last location
            if (_currentLocation != null)
            {
                _lastLocation = _currentLocation.GetType();
            }

            // create next location
            _currentLocation = CreateView(_assetLookup[view], ViewDisplayMode.Location);
            _currentLocation._Show(data);
        }