Control. Designer Initialize 方法
在 RAD 設計工具需要的使用者控制項上，執行任何初始步驟。Performs any initialization steps on the user control that are required by RAD designers.
public: void DesignerInitialize();
public void DesignerInitialize ();
member this.DesignerInitialize : unit -> unit
Public Sub DesignerInitialize ()
Page_Init 要求處理階段中呼叫方法。The following example calls the DesignerInitialize method during the
Page_Init stage of request processing. 這會讓使用者控制項可供 RAD 設計工具使用，例如 Visual Studio 2005。This makes the user control available to a RAD designer such as Visual Studio 2005.
// Initialize the UserControl object that has been created declaratively. myControl.InitializeAsUserControl(this);
' Initialize the UserControl object that has been created declaratively. myControl.InitializeAsUserControl(Me)