Exemplo n.º 1
0
 private void ItemLog_Load(object sender, EventArgs e)
 {
     if (Properties.Settings.Default.Items == null)
     {
         Properties.Settings.Default.Items = new ArrayList();
         Properties.Settings.Default.Save();
         Properties.Settings.Default.Reload();
     }
     lbItems.Items.Clear();
     lbItems.Items.AddRange(ItemManagementSystem.GetNames().ToArray());
 }
Exemplo n.º 2
0
 private void listPopulate()
 {
     if (Properties.Settings.Default.Items == null)
     {
         Properties.Settings.Default.Items = new ArrayList();
         Properties.Settings.Default.Save();
         Properties.Settings.Default.Reload();
     }
     lbItems.Items.Clear();
     lbItems.Items.AddRange(ItemManagementSystem.GetNames().ToArray());
 }