Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# version of VFP PEMSTATUS()
Message
From
19/01/2010 16:15:55
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01444636
Message ID:
01444820
Views:
52
My favourite of
>    protected override void OnTextChanged(EventArgs e)
>    {
>        if (this.Parent is IMyInterface)
>        {
>            ((IMyInterface)this.Parent).MyMethod(true);
>        }
>        base.OnTextChanged(e);
>    }
is
>    protected override void OnTextChanged(EventArgs e)
>    {
          IMyInterface o;
>        if ( ( o = this.Parent as IMyInterface) != null )
>        {
>           o.MyMethod(true);
>        }
>        base.OnTextChanged(e);
>    }
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform