private void GetPreview()
{
if (TheArticle == null)
{
DisableButtons();
return;
}
if (!TheSession.Editor.IsActive)
{
StatusLabelText = "Previewing...";
TheSession.Editor.Preview(TheArticle.Name, txtEdit.Text);
}
else
StatusLabelText = "Editor busy";
}