Пример #1
0
        // 【获取所有key】
        private void getAllKeyBtn_Click(object sender, EventArgs e)
        {
            List <string> rs = IniFileHelper.GetKeys("Web信息", this.iniFilePath);

            MessageBox.Show(string.Join(",", rs));
        }
Пример #2
0
        // 【获取所有section】
        private void getAllSectionBtn_Click(object sender, EventArgs e)
        {
            List <string> rs = IniFileHelper.GetSectionNames(this.iniFilePath);

            MessageBox.Show(string.Join(",", rs));
        }