BoldSignA modern eSignature application with affordable pricing.
Sign up today for unlimited document usage!
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.
Create a picturebox the same size as the image. Modify the
private static void PaintControl(object sender)
Control ctrl = sender as Control;
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.
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.