المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : A control on the mainform doesn't update when others do



C# Programming
10-06-2009, 09:11 AM
hi, I'am using one mainform and a custom control on it. The custom control consists of some textboxes and a custom progressbar with text.

The mainform properties(for your reference) are: FormBorderStyle=FixedSingle, MinimizeBox=False, MaximizeBox=False

The question is: when I click on other programs(when my mainform is not the active window) and reclick on my mainform, especially the custom progressbar doesn't update its text on it even though the value is updated. All other controls(numericupdown and textboxes) updates properly.
Thanks in advance