I have a very good experience in VFP 9 and a I’m a beginner in C#. I have a simple questions and I can’t find a good answer to .NET forums. I’m in the process of writing a simple app in C#.
In VFP, I can sub-class controls (ex. Label) and put code in the refresh() event
ex. :
I put this label in a form, and issue a Refresh() of the form. As expected all the Refresh() events of all the controls on the forms are issued.
I know that it’s not the good forum for this questions, but I think you know the behaviour in VFP, and don’t know how to explain this to C# specialist.
Thanks for your help.
Nro
In VFP, I can sub-class controls (ex. Label) and put code in the refresh() event
ex. :
Code:
DODEFAULT()
IF THISFORM.lnLg = "FR" THEN
this.Caption = "Mon nom est Mario"
ELSE
this.Caption = "My name is Mario"
ENDIF
I put this label in a form, and issue a Refresh() of the form. As expected all the Refresh() events of all the controls on the forms are issued.
I know that it’s not the good forum for this questions, but I think you know the behaviour in VFP, and don’t know how to explain this to C# specialist.
Thanks for your help.
Nro