private void button1_Click_1(object sender, EventArgs e) { //make console null due to clear ram console = null; console = new Console1(this); console.openConsole(); WriteMemory(new IntPtr(AddressPointer + 0xD29), 1); }