private void addNewObjList(Position start, string sheetName, string type) { List <string> list = excelTool.getObjList(path, sheetName, start, type); //objLists.Add(list); objDictionary.Add("obj" + listBox1.Items.Count, list); listBox1.Items.Add("obj" + listBox1.Items.Count); listBox1.SelectedIndex = listBox1.Items.Count - 1; }