We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Loading Animator

Thread ID:





114504 Nov 21,2013 10:38 PM UTC Nov 26,2013 03:44 AM UTC WinForms 2
Tags: Tools
Benson Butt
Asked On November 21, 2013 10:38 PM UTC

Using the loadingAnimator that is provided by syncfusion (AnimatedLoading_GGC-1146142389.zip), I'm trying to implement the behavior in ribbon backstage as shown in the following code snippet.

private void backStage1_SelectedIndexChanged(object sender, EventArgs e)



    .... doing something



the image never show up, it is working fine in the main form with regular control.


Benson Butt
Replied On November 22, 2013 04:09 PM UTC


Create a picturebox the same size as the image.  Modify the

private static void PaintControl(object sender)


Control ctrl = sender as Control;

if (isAnimate)


using (Graphics gr = ctrl.CreateGraphics())



//gr.DrawImage(Image, new Point(ctrl.Bounds.Width / 2, ctrl.Bounds.Height / 2));

gr.DrawImage(Image, new Point(0,0));




then just bringToFront() the picturebox before calling Wire, and then sendToBack when calling Unwire.

Of course, you can center the picturebox by doing the following

picturebox.left = this.width/2 - picturebox.width/2

picturebox.top = this.height/2 = picturebox.height/2

Hope it helps.

Kannan R [Syncfusion]
Replied On November 26, 2013 03:44 AM UTC

Hi Benson,


Thank you for using Syncfusion products.


We are glad that, you have found solution for your requirement. Please let us know if you need any further assistance.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon