/// <summary> /// Updates the designer when the Designer tab is selected /// </summary> private void UpdateDesigner() { if (!string.IsNullOrEmpty(editor.Text)) { builder.LoadHtmlContent(editor.Text); } EnableMenuItems(); }