private void frmCounterList_Load(object sender, EventArgs e)
 {
     try
     {
         gcCounter.DataSource = objMasterRep.GetCounter();
     }
     catch (Exception ex)
     {
         ErrorMgmt.ShowError(ex);
         ErrorMgmt.Errorlog.Error(ex);
     }
 }