namespace AutoUpDate
{
    public partial class CheckUpdate : Component
    {
        private System.Threading.Thread backgroundThread;
        private delegate void UpdateVersionDelegate(Version version);        public CheckUpdate()
        {
           
            InitializeComponent();
        }        public CheckUpdate(IContainer container)
        {           
            container.Add(this);
            
            Check();
            InitializeComponent();
        }        public void Check()
        {
            backgroundThread = new Thread(new ThreadStart(UpdateThread));
            backgroundThread.IsBackground = true;
            backgroundThread.Start();
        }        public void UpdateVersion(Version version)
        {          
            Version vCurrent = System.Reflection.Assembly.GetEntryAssembly().GetName().Version;
            if (version > vCurrent)
            {
                System.Windows.Forms.DialogResult dialogResult = System.Windows.Forms.MessageBox.Show("邮件地址薄有更新: " + version.ToString() + ",是否更新", "更新", System.Windows.Forms.MessageBoxButtons.YesNo);                if (dialogResult == System.Windows.Forms.DialogResult.Yes)
                {
                    System.Diagnostics.Process.Start("AutoUpDate.exe");
                    System.Windows.Forms.Application.Exit();
                }
            }            backgroundThread.Abort();
        }        private void UpdateThread()
        {
            //获取服务器上的版本                
            Config config = new Config();
            Version vConfig = config.GetVersion();
            UpdateVersion(vConfig);
        }
    }
}为什么提示更新,点确定更新完后,还会提示有新版更新呢?一直会循环,是哪里的问题呢?