/// <summary> /// 1. Get all the stored urls from database /// 2. Add the urls into listBox /// 3. Set the toolTip delay /// </summary> public ManageRssURL() { InitializeComponent(); List <string> urlsStore = RssFeedReader.getUrlListFromDb(); urlsStore.ForEach(url => lb_RssUrlStore.Items.Add(url)); ToolTip toolTip1 = new ToolTip(); toolTip1.AutoPopDelay = 2000; toolTip1.InitialDelay = 500; toolTip1.ReshowDelay = 200; toolTip1.ShowAlways = true; toolTip1.SetToolTip(this.btn_addUrl, "Add a valid http link"); }