C# Класс Cornerstone.MP.ImageSwapper

This class takes two GUIImage objects so that you can treat them as one. When you assign a new image to this object using the Filename property, the currently active image is hidden and the second is made visibile (with the new image file displayed). This allows for animations on image change, such as a fading transition. This class also uses the AsyncImageResource class for asynchronus image loading, dramtically improving GUI performance. It also takes advantage of the Delay feature of the AsyncImageResource to prevent unnecessary loads when rapid image changes are made.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ImageSwapper ( ) : System

Приватные методы

Метод Описание
imageResource_ImageLoadingComplete ( AsyncImageResource image ) : void

Описание методов

ImageSwapper() публичный Метод

public ImageSwapper ( ) : System
Результат System