Game Development Reference
In-Depth Information
else
{
if (TextureDeselected != null)
TextureDeselected(this,
new TextureBrowserEventArgs(thumbnail.Texture));
}
break;
}
else
{
DeselectAll();
thumbnail.Selected = true;
if (TextureSelected != null)
TextureSelected(this,
new TextureBrowserEventArgs(thumbnail.Texture));
}
break;
}
}
}
internal void PerformActivated(TextureThumbnail thumbnail)
{
if (TextureActivated != null)
TextureActivated(this, new TextureBrowserEventArgs(thumbnail.Texture));
}
internal void PerformRightClicked(TextureThumbnail thumbnail)
{
if (TextureRightClicked != null)
TextureRightClicked(this,
new TextureBrowserEventArgs(thumbnail.Texture));
}
private void ThumbnailPanel_MouseClick(object sender, MouseEventArgs e)
{
DeselectAll();
}
Search Nedrilad ::




Custom Search