Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
Can I pass an ExplorerBar by reference to a procedure in my business layer?
posted

I want to load my explorer bar groups and items in code and not within the form itself; I want to pass the control down to a presentation layer logic class that will take care of getting the groups from the database, loading them into the control, and then pass the control back to the form.

Any ideas?

Parents
  • 69832
    Offline posted

    I'm not sure if I understood this post but objects in C# are automatically passed by reference, and you can use VB's 'ByRef' keyword to pass a reference in that language:

    private void PopulateExplorerBar( UltraExplorerBar explorerBar )
    {
    }

    private Sub PopulateExplorerBar( ByRef explorerBar As UltraExplorerBar )
    End Sub

Reply Children
No Data