共用方式為


Document.Startup Event

Definition

Occurs after the document is running and all the initialization code in the assembly has been run.

public:
 event EventHandler ^ Startup;
event EventHandler Startup;
member this.Startup : EventHandler 
Event Startup As EventHandler 

Event Type

Remarks

In document-level projects, you should use the existing Startup event handler in your project, rather than creating a new one.

Applies to