static BooProjectNode()
{
imageList =
Utilities.GetImageList(
typeof(BooProjectNode).Assembly.GetManifestResourceStream(
"Boo.BooLangProject.Resources.BooProjectNode.bmp"));
ImageList booFileNodeImageList;
string booFileResourceString = "Boo.BooLangProject.Resources.BooFileNode.bmp";
try
{
booFileNodeImageList =
Utilities.GetImageList(
typeof(BooProjectNode).Assembly.GetManifestResourceStream(
booFileResourceString));
}
catch (Exception e)
{
throw;
}
if (booFileNodeImageList.Images.Count != 1)
throw new FileNotFoundException("Cannot find Boo FileNode Icon at: " + booFileResourceString);
else
imageList.Images.Add(booFileNodeImageList.Images[0]);
}