Exemplo n.º 1
0
        private async void reinstallCleanBtn_Click(object sender, EventArgs e)
        {
            ShippedFiles.Uninstall(false);
            await ShippedFiles.Install();

            BringToFront();
        }
Exemplo n.º 2
0
 private void uninstallFullBtn_Click(object sender, EventArgs e)
 {
     Close();
     ShippedFiles.Uninstall(true);
     Program.ShowMessage("Uninstalled all files.\nYou can now delete Cupscale.exe if you want to completely remove it from your PC.", "Message");
     Logger.disable = true;
     Config.disable = true;
     Program.Quit();
 }
Exemplo n.º 3
0
 private void uninstallResBtn_Click(object sender, EventArgs e)
 {
     ShippedFiles.Uninstall(false);
     Program.ShowMessage("Uninstalled resources.\nYou can now delete Cupscale.exe if you want to completely remove it from your PC.\n" +
                         "However, your settings file was not deleted.", "Message");
     Logger.disable = true;
     Config.disable = true;
     Program.Quit();
 }
Exemplo n.º 4
0
        private async void reinstallOverwriteBtn_Click(object sender, EventArgs e)
        {
            await ShippedFiles.Install();

            BringToFront();
        }
Exemplo n.º 5
0
        public async Task CheckInstallation()
        {
            await ShippedFiles.Init();

            Enabled = true;
        }