-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: KryptonTableLayoutPanel throwing exception when a form is minimized #774
Comments
PWagner1
added
the
under investigation
This bug/issue is currently under investigation.
label
Jul 6, 2022
PWagner1
added
awaiting feedback
A fix for this issue has been implemented, waiting for feedback on the fix.
and removed
under investigation
This bug/issue is currently under investigation.
labels
Jul 6, 2022
Please retry using nightly build >= .188 |
Thanks! |
@ZXBITLES Is this working now? |
Sorry. I tried branch "alfa", but it has no changes. Have no idea where is "nightly" branch. :) |
The changes were made in this branch |
Thanks. Will check it on weekend. |
@ZXBITLES Can I close this now? |
Yeah! Thanks! |
Smurf-IV
added
fixed
This issue has been fixed.
and removed
awaiting feedback
A fix for this issue has been implemented, waiting for feedback on the fix.
labels
Jul 18, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
KryptonTableLayoutPanel throwing exception when a form is minimized
To Reproduce
Add KryptonTableLayoutPanel to a form and minimize it in runtime.
Expected behavior
No Exception should ne thrown.
Solution
KryptonTableLayoutPanel.cs must be modified like this:
private void BackGroundPanel_Refreshed()
{
if (_backGroundPanel.Height == 0 || _backGroundPanel.Width == 0) return;
_bm = new Bitmap(_backGroundPanel.Width, _backGroundPanel.Height, PixelFormat.Format32bppRgb);
_backGroundPanel.DrawToBitmap(_bm,
new Rectangle(0, 0, _backGroundPanel.Width, _backGroundPanel.Height));
BackgroundImage = _bm;
}
The text was updated successfully, but these errors were encountered: