Пример #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     if (lst_tanks.SelectedItems.Count > 0)
     {
         UnloadingDipReadings read = (UnloadingDipReadings)lst_tanks.SelectedItems[0].Tag;
         CustomeRepository.UpdateDipValues(txt_DocNo.Text.Trim(), read.TankD, num_afterReading.Value, 2);
         if (txt_DocNo.Text.Trim() != "")
         {
             LoadTanks(txt_DocNo.Text);
         }
     }
 }