Question: I have a form with a simple calculator with the size 245 x 359.

I currently have a show/hide button for scientific functions.

I want to be able to click a button and have it show the scientific functions.

With the button size 300 x 400.

![enter image description here](https://i.stack.imgur.com/hU954.png)

Answer: 
In your button click event you can do the following:

```
this.Size = new Size(300,400);

```
In your example, do not need to hide and show button but only need to change text.
Add Fix button on panel or user control and change the text. If require then user Button.Visible = false and true. Share your sample code for work on it.