private void button2_Click(object sender, EventArgs e) { RepositoryOfNewsButton.Notify(); foreach (NewsButton NewsButton in panel2.Controls) { listBox1.Items.Add(String.Format("{0} UPDATED ON : {1} ", NewsButton.GetType().Name, NewsButton.DateTimeOfNews.TimeOfDay.ToString())); } }
public static void Add(NewsButton i_WebNewsButton) { }