private void btnDelete_Click(object sender, EventArgs e)
{
if (Factory.GUIController.ShowQuestion("Are you sure you want to delete this background?") == DialogResult.Yes)
{
lock (_room)
{
Factory.NativeProxy.DeleteBackground(_room, cmbBackgrounds.SelectedIndex);
RepopulateBackgroundList(0);
}
_room.Modified = true;
}
}