Пример #1
0
 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;
 }
Пример #2
0
 /// <summary>
 /// 初始化
 /// </summary>
 public void Init()
 {
     if (strMapFileBin != null && strMapFileInfo != null && strMapFileBin != "" && strMapFileInfo != "")
     {
         if (File.Exists(strMapFileBin) && File.Exists(strMapFileInfo))
         {
             mapMain = new SogouMap(strMapFileBin, strMapFileInfo);
             Init_ReadMapInfo();
             DisplayMap();
             MapControlLoadEnd(null);
             bolInit = true;
         }
     }
 }