//初始化参数=========================================================== public void initData(String path) { path_file = path; path_folder = path_file.Substring(0, path_file.LastIndexOf('\\') + 1); m_HistoryManager = new UndoManager(); m_HistoryManager.MaxUndoLevel = 100; textsManager = new TextsManager(this); mapImagesManager = new MImgsManager(this); mapsManager = new MapsManager(this, mapImagesManager); varIntManager = new VarsManager(this); varStringManager = new VarsManager(this); triggerFunctionManager = new FunctionsManager(this); contextFunctionManager = new FunctionsManager(this); executionFunctionManager = new FunctionsManager(this); iDsManager = new VarsManager(this); propertyTypesManager = new PropertyTypesManager(this); form_MAnimation = new Form_MAnimation(this); mapsManager.initAntetype(form_MAnimation.form_MActorList.actorsManager); if (Consts.PATH_PROJECT_FILEPATH != null) { this.Text = Consts.PATH_PROJECT_FILEPATH; } userDoc.initUserData(path);//读入数据 }