語言

DesignerView.OnInitialized(EventArgs) 方法

定義

透過呼叫Initialized基底類別實作,新增路由UserControl事件的事件處理器,並為設計者視圖設定前景顏色來處理GotKeyboardFocus事件。

protected:
 override void OnInitialized(EventArgs ^ e);
protected override void OnInitialized(EventArgs e);
override this.OnInitialized : EventArgs -> unit
Protected Overrides Sub OnInitialized (e As EventArgs)

參數

e
EventArgs

事件資料。

適用於