Microsoft
Software
Hardware
Network
Question : VB.NET Lambda/LINQ batch function
I have a Windows Forms Panel control called pnlContainer.
It has child controls, several of which are of type AccountVisualControl.
The AccountVisualControl class has a method Deselect().
If my understanding of Lambda expressions is correct, is there a way for me to call the Deselect() method of every control of type AccountVisualControl?
I envision something employing this sort of syntax:
pnlContainer.Controls.OfTy
pe(of AccountVisualControl)
In addition, I need the syntax in VB.NET, not C#, unfortunately.
Answer : VB.NET Lambda/LINQ batch function
Why not just?
For Each avc As AccountVisualControl In pnlContainer.Controls.OfTy
pe(Of AccountVisualControl)()
avc.Deselect()
Next
Random Solutions
How do I check for the correct Excel extension when importing a file into MS Access 2003
how can i send a diferent image to two monitors pluged to one computer with a VGA Splitter
Add Trusted Sites to all domain users via GPO...
Can I install SQL Server Express on Small Business Server 2003 without messing up the SBS configs
how to change multiple check box in query
Any SQL to LINQ converters out there?
Compaq presario 6016us ethernet controller driver
Select Missing Rows From Table (Determination Made Based on Multiple Columns)
Locked by Admin
SQL <>