public static Bitmap loadBitmap(string file) { Bitmap bmp = null; try { bmp = new Bitmap(file); } catch (Exception e) { } return bmp; }