private void dgvZirSarfal_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
 {
     foreach (DataGridViewRow row in dgvZirSarfal.Rows)
     {
         row.Cells["ZMan"].Value       = Math.Abs((decimal)row.Cells["ZMan"].Value).ToString();
         row.Cells["ZMan_Befor"].Value = Math.Abs((decimal)row.Cells["ZMan_Befor"].Value).ToString();
         row.Cells["ZMan_All"].Value   = Math.Abs((decimal)row.Cells["ZMan_All"].Value).ToString();
         if (ListSelected.Any(i => i == (int)row.Cells["ZID"].Value))
         {
             row.Cells["select"].Value      = true;
             row.DefaultCellStyle.BackColor = Color.PaleTurquoise;
         }
         else
         {
             row.Cells["select"].Value      = false;
             row.DefaultCellStyle.BackColor = Color.White;
         }
     }
 }
 private void Update()
 {
     StartTime = ListSelected.Any() ? ListSelected.Min(m => m.ID) : -1;
     EndTime   = ListSelected.Any() ? ListSelected.Max(m => m.ID) : -1;
 }