public Form2(Form1 news) { mynews = news.getNews(); InitializeComponent(); newsTabs_SelectedIndexChanged(this, EventArgs.Empty); }
public void setNews(News news) { this.mynews = news; }