コード例 #1
0
        private bool InitNearShopData()
        {
            if (LP_stype != null)
            {
                for (int i = 0; i < LP_stype.Length; i++)
                {
                    if (LP_stype[i] != null)
                    {
                        LP_stype[i].Clear();
                    }
                }
            }

            DownloadInfo di = new DownloadInfo(this);
            string[] aryStrShopId = di.ShopAround();
            MyMsgBox mb = new MyMsgBox();

            LP_stype = new List<PicInfo>[1];
            if (aryStrShopId.Length == 0)
            {
                LP_stype[0] = new List<PicInfo>();
                return false;
            }
            else
            {
                LP_stype[0] = FindShopById(aryStrShopId);
            }
            return true;
        }