Hi Juzer,
I'm not sure I understood it completely.
When you add an item (a button here) by the designer you shouldn't initialize it in code.
If in the designer you set the buttons' visibility to false then in your code you should have an "event" tha makes it visibile and finally in the buttons click ebvent you presumably would want to make it unvisible again.
When I say an "ebent" to make the button visibile I intend soemthing in your code, like an edittext having a specifci value, a form with all the fields completed and so on.
I hope the above will be helpful to you.
udg