Exemplo n.º 1
0
        private async void WipeKeepCalButton_Click(object sender, EventArgs e)
        {
            Enabled = false;
            await Wipe.Do(true);

            Enabled = true;
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
        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;
        }