예제 #1
0
        public Form1()
        {
            InitializeComponent();

            this.labelVersion.Text = this.ApplicationAssembly.GetName().Version.ToString();
            updater = new SharpUpdate(this);
            updater.DoUpdate();
        }
예제 #2
0
 public Form1()
 {
     InitializeComponent();
     this.splashScreen    = new SplashScreen();
     this.lb_version.Text = this.ApplicationAssembly.GetName().Version.ToString();
     updater = new SharpUpdate(this);
     this.Hide();
     splashScreen.Show();
     System.Threading.Thread.Sleep(3000);
     splashScreen.Close();
     this.Show();
     updater.DoUpdate();
 }