title: How could I refresh the panel in once?
body: <p>I've the question while doing panel refresh. I found that the more controls created, the slower the panel refresh. So, if there any way to stop refresh the panel immediately, and do refresh in once at last?</p>
  <p>Here's the codes how I refresh my panel. I'm a newbie with less knowledge in C#, and really hope for help.</p>
  <pre><code>private void DoPanelReresh()
  {
              int height = pl_Main.VerticalScroll.Value;
  
              pl_Main.Controls.Clear();
              if (PCandPLC.Equals(EPcPlc.PLC_to_PC))
              {
                  if (stations_PLC.Count - 1 &gt;= 0)
                  {
                      for (int x = stations_PLC.Count - 1; x &gt;= 0; x--)
                      {
                          pl_Main.Controls.Add(stations_PLC[x]);
                      }
                  }
              }
              else
              {
                  if (stations_PC.Count - 1 &gt;= 0)
                  {
                      for (int x = stations_PC.Count - 1; x &gt;= 0; x--)
                      {
                          pl_Main.Controls.Add(stations_PC[x]);
                      }
                  }
              }
  
              pl_Main.VerticalScroll.Value = height;
  }        
  </code></pre>