private void NewComment( string Label )
{
TransitionDisplay.SetState( CommentEditor, TransitionState.Active );
CommentModeLabel.Text = Label;
if( BindItem.ForceEncryption && Crypt == null )
{
CommentInput.IsEnabled = false;
StringResources stx = new StringResources();
CommentError.Text = stx.Text( "CommentsEncrypted" );
DisplayControls( "Discard" );
}
else
{
CommentInput.IsEnabled = true;
DisplayControls( "Submit", "Discard" );
CommentError.Text = "";
}
}