I came across this bug accidentally. If you set the Maximum value of the ProgressBarAdv to 0 you will get a divide by zero exception. I don''t need a fix for this ATM, just thought I''d let you know about it. Here is the stacktrace it gave me.
System.DivideByZeroException: Attempted to divide by zero.
at Syncfusion.Windows.Forms.Tools.ProgressBarAdv.DrawText(Graphics g, Rectangle rect)
at Syncfusion.Windows.Forms.Tools.ProgressBarAdv.OnBarPaint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.ThemedControl.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
ADAdministrator Syncfusion Team August 20, 2004 07:30 AM
Thanks for bringing the above mentioned issue to our attention. I could observe this here and have notified the development team in this regard. We will try our best to address this issue at the earliest, and include the fixes in our future releases. We appreciate your feedback, and thanks for choosing Syncfusion products.
ADAdministrator Syncfusion Team August 20, 2004 09:29 AM
This issue has now been taken care of internally, and the fixes are expected to be included in the next release of Essential Suite(post v18.104.22.168 releases). We appreciate your continued interest in Syncfusion products.