共用方式為


ToolWindowPane.OnToolWindowCreated Method

Definition

This method can be overriden by the derived class to execute any code that needs to run after the IVsWindowFrame is created. If the toolwindow has a toolbar with a combobox, it should make sure its command handler are set by the time they return from this method. This is called when someone set the Frame property.

public:
 virtual void OnToolWindowCreated();
public:
 virtual void OnToolWindowCreated();
 virtual void OnToolWindowCreated();
public virtual void OnToolWindowCreated ();
abstract member OnToolWindowCreated : unit -> unit
override this.OnToolWindowCreated : unit -> unit
Public Overridable Sub OnToolWindowCreated ()

Remarks

This is called on the successful setting of the Frame property.

Applies to