private static void MaybeShowTipOfTheDay() { if (CoreSettings.CoreSettings.Default.ShowTipsOnStartup) { var tip = new TipOfTheDayDialog(); tip.ShowDialog(); } }
private void OnTipOfTheDay(object sender, EventArgs e) { var tip = new TipOfTheDayDialog(); tip.ShowDialog(); }