public void Log(string str)
 {
     if (this.label10.InvokeRequired)
     {
         FlushLog fc = new FlushLog(Log); 
         this.Invoke(fc, new object[1] { str});
     }
     else
     {
         this.label10.Text = str;
     }
 }
 public void Log(string str)
 {
     if (this.label10.InvokeRequired)
     {
         FlushLog fc = new FlushLog(Log);
         this.Invoke(fc, new object[1] {
             str
         });
     }
     else
     {
         this.label10.Text = str;
     }
 }