Esempio n. 1
0
        public Form1()
        {
            InitializeComponent();

            this.labelVersion.Text = this.ApplicationAssembly.GetName().Version.ToString();
            updater = new SharpUpdate(this);
            updater.DoUpdate();
        }
Esempio n. 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();
 }