Close a windows form without exiting the entire application

前端 未结 4 2013
梦如初夏
梦如初夏 2020-12-21 09:19

Environment

  • Windows XP SP3 x32
  • Visual Studio 2005 Standard
  • Device/Platform: Honeywell Dolphin 9500 with Windows Mobile/Pocket PC 2003
4条回答
  •  余生分开走
    2020-12-21 09:40

    You can call Application.Run() with your "main" form, this will still allow the application to close properly when the form closes, but hide it (Visible=false) whilst you show the splash screen, or just show the splash screen on top of it.

提交回复
热议问题