Пример #1
0
        /// <summary>
        /// 获取所有开源库简要信息列表
        /// </summary>
        /// <returns></returns>
        public LibrariesModels GetLibraries()
        {
            string          content = this.Get("libraries.min.json");
            LibrariesModels lst     = new LibrariesModels(content);

            return(lst);
        }
Пример #2
0
        private void FrmLibraries_Load(object sender, EventArgs e)
        {
            LibrariesModels librariesModel = StCloud.GetSingle().GetLibraries();

            foreach (LibrariesModel model in librariesModel.ListLibraries)
            {
                this.lstLibrarie.Items.Add(model);
            }
            this.lstLibrarie.SelectedIndex = 0;
        }