Why setting Application.M开发者_如何学编程ainFormOnTaskbar to False is not preventing the application from showing on taskbar?
Please help. Thanks.
Because that's not what it does. MainFormOnTaskbar makes it so that the main form shows up as a taskbar button instead of the application itself. If you want to make an app with no presence on the taskbar, see this article.
精彩评论