private void FormMainScreen_Shown(object sender, EventArgs e) { if (GuiSettings.GetSettingBoolean(GuiSettings.SHOW_NEWS_KEY)) { using (var news = new NewsDialog()) news.ShowDialog(); } }
private void newsToolStripMenuItem_Click(object sender, EventArgs e) { using (var news = new NewsDialog()) news.ShowDialog(); }