HBM.Users.ClearFormData C# (CSharp) Method

ClearFormData() protected method

protected ClearFormData ( ) : void
return void
        protected void ClearFormData()
        {
            try
            {
                this.txtUserName.Text = string.Empty;
                this.txtFirstName.Text = string.Empty;
                this.txtLastName.Text = string.Empty;
                this.txtEmail.Text = string.Empty;
                this.txtPassword.Text = string.Empty;
                this.txtConfirmPassword.Text = string.Empty;
                this.ddlRoles.SelectedIndex = -1;
                this.ddlDepartment.SelectedIndex = -1;
                this.txtFirstName.Focus();

            }
            catch (System.Exception)
            {

            }
        }