Hi all,
  This may be a simple question. I create a main window, which contains a button, after clicked the button, there will be show another window. But how can I implement such a function that is when I close the main window, all the other windows will also be closed? Thanks!

Deng Chao