public SogouOfflineMap(string strMapFilePath_Bin, string strMapFilePath_Info, string strMapFilePath_Ini) { InitializeComponent(); strMapFileBin = strMapFilePath_Bin; strMapFileInfo = strMapFilePath_Info; strMapFileIni = strMapFilePath_Ini; mapMain = new SogouMap(strMapFilePath_Bin, strMapFilePath_Info); bolInit = true; }
/// <summary> /// 初始化 /// </summary> public void Init(string strMapFilePath_Bin, string strMapFilePath_Info, string strMapFilePath_Ini) { strMapFileBin = strMapFilePath_Bin; strMapFileInfo = strMapFilePath_Info; strMapFileIni = strMapFilePath_Ini; mapMain = new SogouMap(strMapFileBin, strMapFileInfo); Init_ReadMapInfo(); DisplayMap(); MapControlLoadEnd(null); bolInit = true; }