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()); } }
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}"; }
public Licence(ZLicense licenceEngine) { InitializeComponent(); LicenceEngine = licenceEngine; }