private void unloadAllToolStripMenuItem_Click(object sender, EventArgs e)
{
if (LoadedFilenames.Count == 0 && LoadedProtos.Count == 0)
return;
if (DialogResult.No == Message.Show("Are you sure that you want to unload all loaded items?"+Environment.NewLine+"Any pending changes will be lost.", MessageBoxButtons.YesNo, MessageBoxIcon.Warning))
return;
lstProtos.ClearObjects();
LoadedProtos.Clear();
LoadedFilenames.Clear();
CurrentProto = null;
SetProtoGUI(new ItemProto(), true);
changeStatus("Unloaded all items.");
}