One toolwindow firing an event in another?

4 posts, 0 answers
  1. Malcolm
    Malcolm avatar
    13 posts
    Member since:
    Oct 2007

    Posted 28 Sep 2010 Link to this post

    I have two tool windows in my dock. One contains a tree view and I'd like to be able to change the content of the other one when a different item is clicked in the tree.

    I can raise an event which can be handled on the parent form with the dock, but what I can't then figure out is how to then call a sub in the second tool window.

    I can close the second window down then add it back in, using parameters on the new constructor to do what I need to do, but this changes the layout of the form every time it is actioned.

    Does anyone have any thoughts?

    Thanks!
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 29 Sep 2010 Link to this post

    Hi, 

    Can you post a screenshot of your screen to get an idea? 
    Thanks
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Malcolm
    Malcolm avatar
    13 posts
    Member since:
    Oct 2007

    Posted 30 Sep 2010 Link to this post

    Hi Richard, I managed to work it out. I was just being a bit thick!
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 30 Sep 2010 Link to this post

    :o) We all have days like that! 
    Glad you got it working
Back to Top