ScrewTurn.Wiki.AdminSnippets.ResetEditor C# (CSharp) Method

ResetEditor() private method

Resets the account editor.
private ResetEditor ( ) : void
return void
        private void ResetEditor()
        {
            providerSelector.Enabled = true;
            txtName.Text = "";
            txtName.Enabled = true;
            editor.SetContent("", Settings.UseVisualEditorAsDefault);

            btnCreate.Visible = true;
            btnSave.Visible = false;
            btnDelete.Visible = false;
            lblResult.Text = "";
            lblResult.CssClass = "";

            lblEditSnippetWarning.Visible = false;
        }