Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 22nd, 2012  |  syntax: C#  |  size: 0.27 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.             banList.Items = Properties.Settings.Default.Bans;
  2.             adminList.Items = Properties.Settings.Default.Admins;
  3.             foreach (object item in banList.Items)
  4.             {
  5.                 Properties.Settings.Default.Bans.Add((string)item);
  6.             }