Fix MessageBox for null Caption
This commit is contained in:
1 parent
ab6e2efe21
commit
67219bd62e
1 file changed
+1
-1
@@ -298,7 +298,7 @@ namespace HandyControl.Controls
|
||||
Owner = ownerWindow,
|
||||
WindowStartupLocation = ownerIsNull ? WindowStartupLocation.CenterScreen : WindowStartupLocation.CenterOwner,
|
||||
ShowTitle = true,
|
||||
Title = caption,
|
||||
Title = caption ?? System.Reflection.Assembly.GetExecutingAssembly().GetName().Name,
|
||||
Topmost = ownerIsNull,
|
||||
_messageBoxResult = defaultResult
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user