how to access a window form control from another

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aj 86
    New Member
    • Oct 2011
    • 2

    #1

    how to access a window form control from another

    hi
    i am new to C# and i want to access a window form control from another form. I am creating a browser(using web browser tool) and when i want to add a bookmark another window comes and i enter the bookmark name.when i click add button in the bookmark form i want to create a button in the toolstrip of browser form.How can i do it. Please help
  • GaryTexmo
    Recognized Expert Top Contributor
    • Jul 2009
    • 1501

    #2
    Have a look at the following insight...



    In it, Curtis Rutland talks about several different methods one can use to access data on one form from another. I think the one you will be most interested in is events, as you can use this to trigger an event on the form you want to control, which can then take the appropriate action.

    Read through that and do some experiments. If you have troubles with the code, post back here and we'll try to help you through it. Please include the code you are having trouble with if you do :)

    Comment

    Working...