// change is password is normal text or asterixs public void OnChangePasswordType(MyGuiControlCheckbox sender) { if (m_hidePasswordCheckbox.Checked) { m_passwordTextbox.ChangeMyType(MyGuiControlTextboxType.PASSWORD); } else { m_passwordTextbox.ChangeMyType(MyGuiControlTextboxType.NORMAL); } }