C# Класс ImageLoader.MainScreen

Наследование: Screen
Показать файл Открыть проект

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

Метод Описание
BackButtonPressed ( ) : void
Initialize ( ) : void
Update ( GameTime gameTime ) : void

Update method

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

Метод Описание
AddImage ( String url ) : void

Add a new image to the user interface

ClearContent ( ) : void

Clear all image content

SearchImages ( String query ) : void

Search images using a query

SearchImagesFromGoogle ( string query, int nImagesPerPage, int startImage ) : void

Search images on Google Images using JSON

WebClientGoogle_openReadCompleted ( object sender, OpenReadCompletedEventArgs e ) : void

When the HTTP request is retourned it shows the images to the grid

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

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

public BackButtonPressed ( ) : void
Результат void

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

public Initialize ( ) : void
Результат void

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

Update method
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void