Пример #1
0
    private void DisplayBooleanSearchMessage(string fieldName, string value)
    {
        bool boolValue;

        if (Boolean.TryParse(value, out boolValue))
        {
            uxMessageLabel.Text =
                "<br/>" +
                String.Format(GetLanguageText("BooleanMessage"),
                              ConvertUtilities.ToYesNo(boolValue), fieldName) +
                "<br/><br/>";
        }
    }