Esempio n. 1
0
 public static void ShowPopup(Form owner)
 {
     using (var news = new NewsPopup())
     {
         news.StartPosition = FormStartPosition.CenterParent;
         news.ShowDialog(owner);
     }
 }
Esempio n. 2
0
        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);
            }
        }