public static void ShowPopup(Form owner) { using (var news = new NewsPopup()) { news.StartPosition = FormStartPosition.CenterParent; news.ShowDialog(owner); } }
public static void ShowPopup(Form owner) { if (Settings.Default.MiscFeedbackNagNeverShow) { return; } using (var news = new NewsPopup()) { news.StartPosition = FormStartPosition.CenterParent; news.ShowDialog(owner); } }
public static void ShowPopup(Form owner) { // TODO change when adding a new message if (Program.PreviousVersion != null && Program.PreviousVersion.Major >= 4) { return; } using (var news = new NewsPopup()) { news.StartPosition = FormStartPosition.CenterParent; news.ShowDialog(owner); } }