/// <summary> /// Selects the DDS. /// </summary> /// <param name="DDSIndex">Index of the DDS.</param> public void SelectDDS(int DDSIndex) { propertyGrid.SelectedObject = tsi.listDDS[DDSIndex]; if (selectedDDSIndex != DDSIndex) { selectedDDSIndex = DDSIndex; Sprite DDSSprite = SpriteManager.Instance().GetSprite(tsi.listDDS[DDSIndex].Path); renderControl.ClearSprites(); renderControl.AddSprite(DDSSprite); } renderControl.ClearAeras(); }