How to hide my SmartDevice application on startup?
问题 I made a SmartDevice application that runs on startup and I want it to be hidden at first launch. I've tried this.Hide() , this.Visible = false and ShowWindow(Handle, SW_HIDE) in Form Load() event and InitializeComponent() with no luck. Any help will be appreciated. 回答1: The CF automatically calls Show on the Form passed to Application.Run. There is no avoiding that without avoiding the call to Application.Run. The SDF has an Application2.Run that takes a parameter to tell it to not show the