Esempio n. 1
0
        public static bool ExistsNewVersions(TLClient_WM tl, bool displayalert)
        {
            bool          t = ExistsNewTLS();
            bool          b = ExistsNewBS(tl);
            List <string> p = new List <string>();

            if (t)
            {
                p.Add(Util.TRADELINKSUITE);
            }
            if (b)
            {
                p.Add(Util.BROKERSERVER);
            }
            if ((t || b) && displayalert)
            {
                string     ps = string.Join(",", p.ToArray());
                NewVersion nv = new NewVersion(ps, "http://tradelink.googlecode.com", "Grab new versions of: " + ps + Environment.NewLine + "Or run TradeLink Update.");
                nv.Show();
            }

            return(t || b);
        }
Esempio n. 2
0
        public static bool ExistsNewVersions(TLClient_WM tl, bool displayalert)
        {
            bool t = ExistsNewTLS();
            bool b = ExistsNewBS(tl);
            List<string> p = new List<string>();
            if (t) p.Add(Util.TRADELINKSUITE);
            if (b) p.Add(Util.BROKERSERVER);
            if ((t || b) && displayalert)
            {
                string ps = string.Join(",",p.ToArray());
                NewVersion nv = new NewVersion(ps, "http://tradelink.googlecode.com", "Grab new versions of: " + ps+Environment.NewLine+"Or run TradeLink Update.");
                nv.Show();
            }

            return t || b;
        }