GrapeCity.ActiveReports.Design.Win.v11 アセンブリ > GrapeCity.ActiveReports.Design 名前空間 > Designer クラス : ToolBoxItem プロパティ |
このプロパティは、独自のツールボックスやツールバーを実装するために使用します。
private GrapeCity.ActiveReports.Design.Toolbox.Toolbox arToolbox; private void formDesigner_Load(object sender, System.EventArgs e) { this.arDesigner.Toolbox = this.arToolbox; System.Drawing.Design.ToolboxItem tbItem = new System.Drawing.Design.ToolboxItem(typeof(GrapeCity.ActiveReports.Viewer.Win.Viewer)); this.arToolbox.AddToolboxItem(tbItem, "General"); }
Private arToolbox As GrapeCity.ActiveReports.Design.Toolbox.Toolbox Private Sub formDesigner_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load Me.arDesigner.Toolbox = Me.arToolbox Dim tbItem As System.Drawing.Design.ToolboxItem = New System.Drawing.Design.ToolboxItem(GetType(GrapeCity.ActiveReports.Viewer.Win.Viewer)) arToolbox.AddToolboxItem(tbItem, "General") End Sub