UI_WHAT


Author
Message
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi.

I have changed my SF source code in order to get rid of what Edhy showed on his attachment. Basically I commented the Localization class constructor as it shows bellow:

#Region " Constructors "

        '-- IGB - added on 21/02/2014 - START
        'Shared Sub New()
        '    _isDesignTime = Process.GetCurrentProcess().ProcessName.Contains("devenv")
        'End Sub
        '-- IGB - added on 21/02/2014 - END

        ''' <summary>
        ''' Prevents an instance of the Localization class from being instantiated.
        ''' </summary>
        ''' <remarks></remarks>
        Private Sub New()
        End Sub

#End Region



If you want, you can also comment the lines in the RetrieveTextValue function in this same class:

        Public Shared Function RetrieveTextValue(ByVal TextValueKey As String) As String
            '-- Establish Locals
            Dim lcReturn As String = ""

            '-- IGB - added on 21/02/2014 - START
            ''-- If we are at design-time, then just return the text value key
            'If _isDesignTime Then
            '    Return "#" & TextValueKey & "#"
            'End If
            '-- IGB - added on 21/02/2014 - START



I think this could take care of this matter.

Cheers.

Ivan
Edited 9 Years Ago by Ivan George Borges
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Ivan,

Thanks for sharing this info.

Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search