private void setDataGridView(RadGridView control, DataTable dt)
 {
     if (control.InvokeRequired)
     {
         control.Invoke(new MethodInvoker(delegate
         {
             control.DataSource = dt;
         }));
     }
     else
     {
         control.DataSource = dt;
     }
 }