public void CreateNewItc() { itc = this.itemsContainer1; itc.AddClicked += new ItemsContainer.AddClickedHandler(itc_AddClicked); itc.RemoveClicked += new ItemsContainer.RemoveClickedHandler(itc_RemoveClicked); itc.ItemSelected += new ItemsContainer.ItemSelectedHandler(itc_ItemSelected); itc.ItemEntered += new ItemsContainer.ItemEnteredHandler(itc_ItemEntered); //database.ClearDataBase(); // db.ReadFileToDictionary(System.Windows.Forms.Application.StartupPath+"\\DataBase.txt"); // db.ReadFileToDictionary(System.Windows.Forms.Application.StartupPath+"\\DataBase.txt"); }