次の方法で共有


DocumentBase.Startup Event

Definition

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

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

Event Type

Remarks

This event is the last thing to run in the constructor of the class that the user code is running in. Use this event for any additional initialization.

You should use the existing Startup event handler in your project, rather than creating a new one.

Applies to