Progress Bar is not shown from one to other form load
<p>I have a Main Form and a Progress bar on other form, On load on Main form i want to load progress bar
on other form say Comscanner, i have written two methods in Comscanner form below:</p>

<pre><code>    public void SetMaximum(int max)
    {
        PrgComPortScan.Maximum = max;
        PrgComPortScan.Value   = 0;
    }

    public void Increment()
    {
        if(PrgComPortScan.Maximum &gt; (PrgComPortScan.Value + 1)) 
        {
            PrgComPortScan.Value = PrgComPortScan.Value + 1;
        }  
    }
</code></pre>

<p>but while calling these methods on my main form with timer i am not able to show progressbar 
I also used timer control and its tick property am i missing something?</p>
