public static void LoadShapefileDataAdapter(ShapefileDataAdapter ShapefileDataAdapter) { Stream shpStream = CommonExtension.GetResourceStream("Data", "Countries.shp"); Stream dbfStream = CommonExtension.GetResourceStream("Data", "Countries.dbf"); ShapefileDataAdapter.LoadFromStream(shpStream, dbfStream); }