Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_windows_forms thread: refering values ?


Message #1 by "meghanad m chitre" <meghnad0@y...> on Fri, 7 Feb 2003 10:37:09
Meghanad:

One correction to my last response.  I stated that the solution provided 
would work if you opened form B as a modal dialog (implying that the 
solution wouldn't work if you opened form B as a modeless dialog).  That 
is not true.  If you choose to open form B as a modeless dialog, then 
simply replace the "btnOpen_Click" method from my previous post with the 
following:

    private void btnOpen_Click(object sender, System.EventArgs e)
    {
      FormB child = new FormB();
      child.Owner = this;
      child.Show();
    }

Cheers.

- Roger Nedel

  Nedel Software Solutions
  rnedel@n...
 

  Return to Index