private void edtCodMun_Leave(object sender, EventArgs e) { this.edtCodMun.Text = this.edtCodMun.Text.PadLeft(7, '0'); }