private void ListBoxGraphicsSelectedIndexChanged(object sender, EventArgs e)
{
var index = this.listBoxGraphics.SelectedIndex;
if (index > 0)
{
this._filename = this._resources[this.listBoxGraphics.SelectedIndex].Name;
this.RefreshPicture();
}
else
{
this.pictureBox.Image = null;
this._filename = "";
}
}