示例#1
0
 private void ReFresh()
 {
     lst_Main.Items.Clear();
     foreach (Website website in websites.GetArray())
     {
         lst_Main.Items.Add(website.Name);
     }
     DataSave.WebsiteSave(websites, ProgramPath);
     lst_Main_SelectedIndexChanged(null, null);
 }