Exemplo n.º 1
0
        public void initSmartUpdate(ISmartUpdatable applicationInfo)
        {
            this.applicationInfo = applicationInfo;

            updater = new SmartUpdater(applicationInfo, this);



            if (updater != null)
            {
                updater.CheckUpdate();
            }
            else
            {
                MessageBox.Show("init problem");
            }
        }
        public void initSmartUpdate(ISmartUpdatable applicationInfo, string cur_ver)
        {
            this.cur_ver         = cur_ver;
            this.applicationInfo = applicationInfo;

            updater          = new SmartUpdater(applicationInfo, this);
            current_ver.Text = cur_ver;


            if (updater != null)
            {
                updater.CheckUpdate();
            }
            else
            {
                MessageBox.Show("init problem");
            }
        }