So I am making a tool for PS3 however I need help on making a button do another action when clicked again, this is what I have but I am getting errors, thanks.
private void metroButton2_Click(object sender, EventArgs e)
{
byte[] On = new byte[] { 0x00 };
PS3.SetMemory(0x007EDCA4, On);
}
else
{
byte[] On = new byte[] { 0x65 };
PS3.SetMemory(0x007EDCA4, Off);
}