Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

VB.NET: how to make the Form property "Localizable" visual inheritance?

$
0
0

We try to ensure all forms in our application supports "Localizable".

reference the following link: http://social.msdn.microsoft.com/Forums/en-US/6ab75f84-1364-44a1-b368-7c29988257f0/vbnetc-how-do-we-ensure-all-forms-set-localizable-property-to-true?forum=winforms

However, so far we are not able to make the "Localizable" property to be inherience.

We alreaqdy have the BaseForm.

First, we set the BaseForm' Localizable property to true in design mode (set is localizable in Form's property view)

The inheritaned Form still sets its Localiza ble property to false in the Form's property view)

Then we try following and still see that the inheritaned Form sets its Localiza ble property to false in the Form's property view)

<Localizable(True)>Public Class BaseForm    Inherits System.Windows.Forms.Form

The Localizable property is not Form's property.

What we need to do in the BaseForm to set "Localizable" property, so the inheritaned Form will be abled to set "Localizable" property to true automatically? Thx!


JaneC


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>