AutoWikiBrowser.MainForm.GetPreview C# (CSharp) Method

GetPreview() private method

private GetPreview ( ) : void
return void
        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";
        }
MainForm