Describe the bug
This part of the button's code needs altering because the owner typecast check is incomplete an leaves out the other 3 types of KMB v ariants
// Is it https://github.com/Krypton-Suite/Standard-Toolkit/issues/728
if (owner is VisualMessageBoxForm)
{
// need to gain access to `dialogResult` and set it forcefully
FieldInfo? fi = typeof(Form).GetField("dialogResult", BindingFlags.NonPublic | BindingFlags.Instance);
if (fi != null)
{
fi.SetValue(owner, DialogResult);
}
}
else
{
throw;
}
}
}
Describe the bug This part of the button's code needs altering because the owner typecast check is incomplete an leaves out the other 3 types of KMB v ariants
PR underway