/// <summary> /// 組件初始化方法 /// </summary> protected override void OnInitialized() { Toolbar?.AddButtons(this); }