How to start a textbox with value 0 (zero)? [closed]

2

I have a form created with Windows Forms, and in this form I have textbox that will receive numbers.

How do I make this textbox , when initializing, already filled with value 0, that is when I open the form, textbox already load with value 0, but that it is possible to change to another value later?

    
asked by anonymous 01.09.2017 / 14:47

1 answer

3

In the event

Form_Load()

You put:

seuTextbox.Text = "0";

As mentioned in Renan Silveira's comment you can do so:

    
01.09.2017 / 14:48