/// <summary>
 /// This event is Called for Refreshing DataGridView
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BGWorkerDataPusher_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     DGData.DataSource = null;
     DGData.Update();
     DGData.Refresh();
     DGData.DataSource = ProductBL.GetData(ShareObject.CLientIDToken);
 }
 /// <summary>
 /// Used for dispalying Progress Bar
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void BGWorker_ProgressChanged(object sender, ProgressChangedEventArgs e)
 {
     try
     {
         //Setting Values to display
         progressBar1.Value = e.ProgressPercentage;
         //displaying Percentage in label
         lblStatus.Text = "Processing......" + progressBar1.Value.ToString() + "%";
         //Refreshing DataGridView
         DGData.DataSource = null;
         DGData.Update();
         DGData.Refresh();
         //Rebinding DataGridView
         DGData.DataSource = ProductBL.GetData(ShareObject.CLientIDToken);
     }
     catch (Exception)
     {
         throw;
     }
 }