Пример #1
0
        void check64Info()
        {
            install64.Enabled = false;
            remove64.Enabled  = false;
            switch (Patch64.check64status())
            {
            case 1:
                status64g.ForeColor = Color.Red;
                status64g.Text      = "64-bit patch is not installed";
                install64.Enabled   = true;
                break;

            case 2:
                status64g.ForeColor = Color.Green;
                status64g.Text      = "64-bit patch is installed!";
                remove64.Enabled    = true;
                break;

            case 3:
                status64g.ForeColor = Color.Green;
                status64g.Text      = "Original 64-bit binary detected!";
                break;

            default:
                status64g.ForeColor = Color.Red;
                status64g.Text      = "Unknown mysummercar.exe detected.";
                break;
            }
        }
Пример #2
0
 private void remove64_Click(object sender, EventArgs e)
 {
     Patch64.remove64();
     check64Info();
     debugStatusInfo();
 }
Пример #3
0
 private void install64_Click(object sender, EventArgs e)
 {
     Patch64.install64();
     check64Info();
     debugStatusInfo();
 }