Beispiel #1
0
        /// <summary>
        /// 初始化数据
        /// </summary>
        private void Init()
        {
            DataBaseManager databaseManager = DataBaseManager.GetDataBaseManager();

            if (idList != null)
            {
                Hashtable infoTable = databaseManager.OutputScriptData(idList, false);

                if (infoTable != null)
                {
                    foreach (string key in infoTable.Keys)
                    {
                        string       content  = infoTable[key].ToString();
                        FileListItem listItem = new FileListItem(key, clietFolder, content);
                        listFiles.Items.Add(listItem, true);
                    }
                }
            }
        }
Beispiel #2
0
        /// <summary>
        /// 初始化数据
        /// </summary>
        private void Init()
        {
            DataBaseManager databaseManager = DataBaseManager.GetDataBaseManager();

            if (idList != null)
            {
                Hashtable infoTable = databaseManager.OutputScriptData(idList, false);

                if (infoTable != null)
                {
                    foreach (string key in infoTable.Keys)
                    {
                        string content = infoTable[key].ToString();
                        FileListItem listItem = new FileListItem(key, clietFolder, content);
                        listFiles.Items.Add(listItem, true);
                    }
                }
            }
        }