简体   繁体   English

当我打开.application winform时,小窗口“启动应用程序”

[英]small window “Launching application” when I open .application winform

I have an experimental winform which is tiny: 我有一个微小的实验性winform:

  • 20 lines of added code 20行添加代码
  • two controls 两个控件
  • datagridview datagridview的
  • a small Sql Server Compact db included - with a table containing 3 rows of data 包含一个小的Sql Server Compact数据库 - 包含一个包含3行数据的表

When I launch the .application file a small window appears saying "Launching Application" and then disappears after half a second whilst the form becomes visible. 当我启动.application文件时,会出现一个小窗口,显示“启动应用程序”,然后在表单变为可见时半秒后消失。

Is this usual and should I expect this message with every winform I create? 这是常见的,我应该在我创建的每个winform中期待这个消息吗?

It sounds like you're invoking a ClickOnce deployment file. 听起来你正在调用ClickOnce部署文件。 If you invoke the .exe directly you should not see the 'Launching...' message. 如果直接调用.exe,则不应看到“启动...”消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM