Ejemplo n.º 1
0
        static void RunApp(ZLicense lic)
        {
            if (auto.Enabled())
            {
                if (auto.ShouldBackup())
                {
                    // Run backup automation
                    auto.RunBackup();
                }
                else
                {
                    // Restore and run browser automation
                    if (auto.ShouldRestore())
                    {
                        auto.RunRestore();
                    }

                    if (auto.ShouldRandom())
                    {
                        auto.RandomProfile();
                    }
                    auto.RunBrowser();
                    Thread.Sleep(10000);
                }
            }
            else
            {
                SplashManager.SplashDialog.IncrementLoadStep(1);
                SplashManager.SplashDialog.SetStepText("......");

                Application.Run(new frmMainView());
            }
        }
Ejemplo n.º 2
0
        public frmActiveLicense(ZLicense licenceEngine, string formTitle)
        {
            InitializeComponent();
            LicenseKey = string.Empty;
            LicenseOK  = false;

            _licenceEngine     = licenceEngine;
            txt_MachineId.Text = licenceEngine.GetRequestLicense();
            Text += $"ZChanger MMO v{CurrentVersion} - {formTitle}";
        }
Ejemplo n.º 3
0
 public Licence(ZLicense licenceEngine)
 {
     InitializeComponent();
     LicenceEngine = licenceEngine;
 }