Beispiel #1
0
        private void DestroyTileViews()
        {
            TileContainer.Children.Clear();

            if (_tileViews != null)
            {
                foreach (TileView tileView in _tileViews)
                {
                    tileView.Dispose();
                }

                _tileViews = null;
            }

            if (_scrollbarView != null)
            {
                ImageBoxRightColumn.Children.Remove(_scrollbarView);
                _scrollbarView.Dispose();
                _scrollbarView = null;
            }
        }
Beispiel #2
0
		private void DestroyTileViews()
		{
			TileContainer.Children.Clear();

			if (_tileViews != null)
			{
				foreach (TileView tileView in _tileViews)
					tileView.Dispose();

				_tileViews = null;
			}

            if (_scrollbarView != null)
            {
                ImageBoxRightColumn.Children.Remove(_scrollbarView); 
                _scrollbarView.Dispose();
                _scrollbarView = null;
            }
		}
Beispiel #3
0
 private void CreateScrollbar()
 {
     _scrollbarView = new ImageBoxScrollbarView(ServerEntity, _eventMediator);
     ImageBoxRightColumn.Children.Add(_scrollbarView);
 }
Beispiel #4
0
 private void CreateScrollbar()
 {
     _scrollbarView = new ImageBoxScrollbarView(ServerEntity,_eventMediator);
     ImageBoxRightColumn.Children.Add(_scrollbarView);
 }