在Form中的button1click中:
  self.close; 正常退出。
在ToolBar中的ToolButton1click中 self.close;冲突。
在别的Form中,两种情况都正常。
请高手们分析一下。