에 C#을에서 변환 한 후 나는이 변환 된 VB.NET 코드 http://converter.telerik.com/오류 VB.NET
public static MessageBoxResult Show(string caption, string text, MessageBoxButton button, MessageBoxImage image)
{
_messageBox = new WpfMessageBox { Label1 = { Content = caption }, Label2 = { Content = text } };
return _result;
}
를 통해 VB.NET 코드에 다음과 같은 C# 코드를 변환했다. 이 컨버터의 버그
vb.net에서이 구문이 잘못되었습니다. 인라인 초기화를 사용하여 WpfMessageBox를 초기화하는 방법에 대해 읽어야합니다. 또는 먼저 WpfMessageBox의 인스턴스를 만들고 해당 속성을 설정합니다. –