private void txtShortCode_Leave(object sender, EventArgs e) { txtShortCode.Text = CommonEngine.OnlyGetNumberText(txtShortCode.Text).PadLeft(3, '0'); }