/// <summary> /// ラジオボタンのコレクションを設定します。 /// </summary> /// <param name="radioButtons">ラジオボタンのコレクション。</param> public void SetRadioButtons(TaskDialogControlCollection <TaskDialogRadioButton> radioButtons) { if (this.RadioButtons != null) { this.RadioButtons.Dispose(); this.RadioButtons = null; } if (radioButtons != null) { this.RadioButtons = new TaskDialogControlCollectionInternal <TaskDialogRadioButton>(radioButtons); } }
/// <summary> /// コマンドリンクのコレクションを設定します。 /// </summary> /// <param name="commandLinks">コマンドリンクのコレクション。</param> public void SetCommandLinks(TaskDialogControlCollection <TaskDialogCommandLink> commandLinks) { if (this.CommandLinks != null) { this.CommandLinks.Dispose(); this.CommandLinks = null; } if (commandLinks != null) { this.CommandLinks = new TaskDialogControlCollectionInternal <TaskDialogCommandLink>(commandLinks); } }
/// <summary> /// カスタムボタンのコレクションを設定します。 /// </summary> /// <param name="customButtons">カスタムボタンのコレクション。</param> public void SetCustomButtons(TaskDialogControlCollection <TaskDialogButton> customButtons) { if (this.CustomButtons != null) { this.CustomButtons.Dispose(); this.CustomButtons = null; } if (customButtons != null) { this.CustomButtons = new TaskDialogControlCollectionInternal <TaskDialogButton>(customButtons); } }
protected void SetRadioButtons(TaskDialogControlCollection <TaskDialogRadioButton> radioButtons) { this.TaskDialogInternal.SetRadioButtons(radioButtons); }
protected void SetCommandLinks(TaskDialogControlCollection <TaskDialogCommandLink> commandLinks) { this.TaskDialogInternal.SetCommandLinks(commandLinks); }
protected void SetCustomButtons(TaskDialogControlCollection <TaskDialogButton> customButtons) { this.TaskDialogInternal.SetCustomButtons(customButtons); }