GUI Hidding

i av created a button called apply.when i click on the button my GUI must get disappeared and when I press any key from keyboard it must reappear it again.i am C# sharp as a scripting language.can any body help me out

use a boolean in your code, when you click the button you set the boolean to true and based on the boolean you show or hide the button :

private boolean myBool = true;

if(myBool) {
     if(GUI.Button(code......)) {
          myBool = false;
    }
}

Thank your Sir
but I dont want to hide the button.when I click the button everything on my screen should get hide and when i press any key from the key board i shud return to return to previous state

thanks appels
I have solved the problem.