Hi Sagittarian,
You can overcome this problem by doing certain changes in the accessibility of ProgressBarAdv.
Consider you have Form1 and Form2.Form1 contains ProgressBarAdv and Form2 is made as the OptionDialog.
First, declare an object at the top of your form,the form you want to access data from:
public static Form1 frm1Object;
public static Form2 frm2Object;
And then in the void main on the same form, make new objects and pass in the frm1Object:
static void Main()
{
frm1Object = new Form1();
frm2Object = new Form2();
Application.Run(frm1Object);
}
Now, if you want to access ProgressBarAdv from Form2(Options Dialog), then make ProgressBarAdv public static on Form1.
public static Syncfusion.Windows.Forms.Tools.ProgressBarAdv progressBarAdv1;
And to do something on ProgressBarAdv from OptionsDialog,do as follows.
Form1.progressBarAdv1.ProgressStyle =Syncfusion.Windows.Forms.Tools.ProgressBarStyles.Tube ;
Please take a look at the sample atached for your reference.
Thanks,
Anu.
ProgressBarForum.zip