Example #1
0
        /*
         *
         * Metoda wwypakowująca pobraną paczkę z aktualizacjami.
         */
        private void Installing()
        {
            if (!File.Exists(path + name))
            {
                throw new FileNotFoundException();
            }
            if (!Directory.Exists(path))
            {
                Directory.CreateDirectory(path);
            }
            else
            {
                UnZip(path + name, path);
            }

            WaitToInstall.Start();
            CHCKUPD.Text = "Successfully installed ! ";
        }
Example #2
0
 private void WaitToInstall_Tick(object sender, EventArgs e)
 {
     WaitToInstall.Stop();
     WaintToRun.Start();
     CHCKUPD.Text = "Running SmartSell... ";
 }