private async void WipeKeepCalButton_Click(object sender, EventArgs e) { Enabled = false; await Wipe.Do(true); Enabled = true; }
private async void ReDownloadCAL_Click(object sender, EventArgs e) { Enabled = false; if (await Wipe.Do(true)) { await McrsCalSrvc.Start(); CenterToScreen(); Left = Left - 440; } Enabled = true; }
private async void ReCAL_Click(object sender, EventArgs e) { Enabled = false; await Misc.InstallScheduledTask(Properties.Resources.SuperCALPhaseTwo, "2"); await DomainJoin.Leave(); await Misc.SetAutoLogon(false); if (await Wipe.Do()) { await McrsCalSrvc.Start(); CenterToScreen(); Left = Left - 440; } Enabled = true; }