1
vb.net에서 작업 대화 상자를 만들고 아이콘이 표시되지 않습니다. (그 밖의 모든 기능) Microsoft.WindowsAPICodePack.Dialogs를 사용하고 있습니다. 내 코드는 다음과 같습니다 :TaskDialogStandardIcon이 작업 대화 상자에서 작동하지 않습니다.
Dim commandLink_Send = New TaskDialogCommandLink("btnShowAlternatives", "View Alternative Times", "Select an available time")
Dim commandLink_Ignore = New TaskDialogCommandLink("buttonIgnore", "Go Back", "Go back to booking form")
**td.Icon = TaskDialogStandardIcon.Shield**
td.Caption = "Application Error"
td.InstructionText = "Booking Clash"
td.Text = "The application has found a clash in one more of the selected resources"
td.Cancelable = False
td.Controls.Add(commandLink_Send)
td.Controls.Add(commandLink_Ignore)
AddHandler commandLink_Send.Click, AddressOf eventHandlers.commandLink_send_click
AddHandler commandLink_Ignore.Click, AddressOf eventHandlers.commandLink_ignore_click
암 내가하고
건배 순간
내가 여기처럼 C# 코드를 찾고 있다면 : taskDialog.Opened + = delegate {taskDialog.Icon = TaskDialogStandardIcon.Error; }; –