Hi,
I'm trying to do an MDI app and when the child form is maximized and is its openned another maximized form gives the following error:
(I tested with "WindowState" in normal and doesn´t give the error)
-----------------------------------------------------
System.NullReferenceException
HResult=0x80004003
Message=A referência de objecto não foi definida como uma instância de um objecto.
Source=System.Windows.Forms
StackTrace:
at System.Windows.Forms.NativeWindow.WindowClass.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-----------------------------------------------------
Line: form.Show();
Syncfusion version: 20.1.0.50
Hi Diogo,
Based on provided information we have checked the reported issue, but we are unable to reproduce the reported issue on our end. If you still facing the same issue, please modify the attached sample based on your scenario. It will be more helpful for us to find the exact cause and provide you with a prompt and timely solution.
Regards,
Vasanthkumar D
Hi, Vasanthkumar D,
Use the attached project to test.
Thanks!
Hi Diogo,
We have checked the reported issue with the provided sample. And it is confirmed it as a defect. We have logged a bug report on this regard. We will fix this issue and include in our May 17th, 2022 NuGet release.
You can track the status of this report through the following feedback link,
Feedback link: Null
reference exception occurs when closing the SfForm in WinForms | Feedback
Portal (syncfusion.com)
Note: The provided feedback link is private, and you need to
login to view this feedback.
We appreciate your patience until then.
Regards,
Dhanasekar M.
Hi Diogo,
We would like to let you know
that Essential Studio Weekly NuGet packages (v20.1.0.56) has
been published in nuget.org
with the fix for the issue “Null reference
exception occurs when closing the SfForm”. Please let us know if you have any
concerns in this.
Regards,
Dhanasekar M.