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
WCF Transport Level
How do I release unused space from a single table in SQL Server?
Outlook 2007: How to build a custom button on Client Outlook ribbon to add a message to the blocked sender list, and move the message to the hidden message box
Create NACHA Formated File using Access
ON Shutdown - End Program: Connections Tray
Sub that makes every pivot table item visible
Win7 Ultimate upgrade in stages using OEM DVD
SQL Server database move question
time formats - coming up with totals
App Stops at breakpoint after they have been removed