DeniseGoodheart
asked on
How To Write Select Case Code for SelectedTab Event
Hi,
I'm using VS.NET 2005. Is it possible to change the following code into a Select Case, and if so how?
If Me.tabMain.SelectedTab.Equ als(Me.tab Rework) = True Then
LoadReworksHistoryGrid()
End If
If Me.tabMain.SelectedTab.Equ als(Me.tab SalesHisto ry) = True Then
LoadSalesGrid()
End If
If Me.tabMain.SelectedTab.Equ als(Me.tab Stock) = True Then
LoadStockGrid()
End If
Thanks,
Denise
I'm using VS.NET 2005. Is it possible to change the following code into a Select Case, and if so how?
If Me.tabMain.SelectedTab.Equ
LoadReworksHistoryGrid()
End If
If Me.tabMain.SelectedTab.Equ
LoadSalesGrid()
End If
If Me.tabMain.SelectedTab.Equ
LoadStockGrid()
End If
Thanks,
Denise
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Many thanks! It's just what I needed.
Cheers,
Denise