3
I’m with 2 checkbox
natural person and legal person, and only one textbox
.
I want to select on checkbox
individual, I want to apply the mask to CPF, or when selecting the legal person he applies the mask to CNPJ on textbox
.
I don’t know apply the mask according to what I select.
At the click of the checkbox you check which is and changes the mask of the textbox,:
Textbox1.Mask = "máscara";
– Ricardo Pontual
use
RadioButton
for that reason– Rovann Linhalis
Sorry, I didn’t realize it was Windows Forms.
– Jéf Bueno