Loads an object from a file.
void __fastcall LoadFromFile(const String filename);
Description
Use LoadFromFile to load an object from a file speficied by filename. The FileName property will be set, and the protected virtual function LoadFromFile will be called, which is responsible for loading the object from the file.